Commit 90ce5e24 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Recognize SM5 vpc register.

parent 63d03924
...@@ -1698,6 +1698,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer, ...@@ -1698,6 +1698,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
shader_addline(buffer, "vicp"); shader_addline(buffer, "vicp");
break; break;
case WINED3DSPR_PATCHCONST:
shader_addline(buffer, "vpc");
break;
case WINED3DSPR_TESSCOORD: case WINED3DSPR_TESSCOORD:
shader_addline(buffer, "vDomainLocation"); shader_addline(buffer, "vDomainLocation");
break; break;
......
...@@ -225,6 +225,7 @@ enum wined3d_sm4_register_type ...@@ -225,6 +225,7 @@ enum wined3d_sm4_register_type
WINED3D_SM5_RT_OUTPUT_CONTROL_POINT_ID = 0x16, WINED3D_SM5_RT_OUTPUT_CONTROL_POINT_ID = 0x16,
WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17, WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17,
WINED3D_SM5_RT_INPUT_CONTROL_POINT = 0x19, WINED3D_SM5_RT_INPUT_CONTROL_POINT = 0x19,
WINED3D_SM5_RT_PATCH_CONSTANT_DATA = 0x1b,
WINED3D_SM5_RT_DOMAIN_LOCATION = 0x1c, WINED3D_SM5_RT_DOMAIN_LOCATION = 0x1c,
WINED3D_SM5_RT_UAV = 0x1e, WINED3D_SM5_RT_UAV = 0x1e,
}; };
...@@ -758,7 +759,7 @@ static const enum wined3d_shader_register_type register_type_table[] = ...@@ -758,7 +759,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
/* UNKNOWN */ ~0u, /* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_INPUT_CONTROL_POINT */ WINED3DSPR_INCONTROLPOINT, /* WINED3D_SM5_RT_INPUT_CONTROL_POINT */ WINED3DSPR_INCONTROLPOINT,
/* UNKNOWN */ ~0u, /* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u, /* WINED3D_SM5_RT_PATCH_CONSTANT_DATA */ WINED3DSPR_PATCHCONST,
/* WINED3D_SM5_RT_DOMAIN_LOCATION */ WINED3DSPR_TESSCOORD, /* WINED3D_SM5_RT_DOMAIN_LOCATION */ WINED3DSPR_TESSCOORD,
/* UNKNOWN */ ~0u, /* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_UAV */ WINED3DSPR_UAV, /* WINED3D_SM5_RT_UAV */ WINED3DSPR_UAV,
......
...@@ -371,6 +371,7 @@ enum wined3d_shader_register_type ...@@ -371,6 +371,7 @@ enum wined3d_shader_register_type
WINED3DSPR_OUTPOINTID, WINED3DSPR_OUTPOINTID,
WINED3DSPR_FORKINSTID, WINED3DSPR_FORKINSTID,
WINED3DSPR_INCONTROLPOINT, WINED3DSPR_INCONTROLPOINT,
WINED3DSPR_PATCHCONST,
WINED3DSPR_TESSCOORD, WINED3DSPR_TESSCOORD,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment