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

wined3d: Recognize SM5 vocp register.

parent 5c3114ab
......@@ -1779,6 +1779,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
shader_addline(buffer, "vicp");
break;
case WINED3DSPR_OUTCONTROLPOINT:
shader_addline(buffer, "vocp");
break;
case WINED3DSPR_PATCHCONST:
shader_addline(buffer, "vpc");
break;
......
......@@ -259,6 +259,7 @@ enum wined3d_sm4_register_type
WINED3D_SM5_RT_OUTPUT_CONTROL_POINT_ID = 0x16,
WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17,
WINED3D_SM5_RT_INPUT_CONTROL_POINT = 0x19,
WINED3D_SM5_RT_OUTPUT_CONTROL_POINT = 0x1a,
WINED3D_SM5_RT_PATCH_CONSTANT_DATA = 0x1b,
WINED3D_SM5_RT_DOMAIN_LOCATION = 0x1c,
WINED3D_SM5_RT_UAV = 0x1e,
......@@ -877,7 +878,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
/* WINED3D_SM5_RT_FORK_INSTANCE_ID */ WINED3DSPR_FORKINSTID,
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_INPUT_CONTROL_POINT */ WINED3DSPR_INCONTROLPOINT,
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_OUTPUT_CONTROL_POINT */ WINED3DSPR_OUTCONTROLPOINT,
/* WINED3D_SM5_RT_PATCH_CONSTANT_DATA */ WINED3DSPR_PATCHCONST,
/* WINED3D_SM5_RT_DOMAIN_LOCATION */ WINED3DSPR_TESSCOORD,
/* UNKNOWN */ ~0u,
......
......@@ -385,6 +385,7 @@ enum wined3d_shader_register_type
WINED3DSPR_OUTPOINTID,
WINED3DSPR_FORKINSTID,
WINED3DSPR_INCONTROLPOINT,
WINED3DSPR_OUTCONTROLPOINT,
WINED3DSPR_PATCHCONST,
WINED3DSPR_TESSCOORD,
WINED3DSPR_GROUPSHAREDMEM,
......
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