wined3d: Recognize SM5 vocp register.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-07-15 11:16:18 +02:00 committed by Alexandre Julliard
parent 5c3114ab8e
commit dee9d1403a
3 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -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,

View File

@ -385,6 +385,7 @@ enum wined3d_shader_register_type
WINED3DSPR_OUTPOINTID,
WINED3DSPR_FORKINSTID,
WINED3DSPR_INCONTROLPOINT,
WINED3DSPR_OUTCONTROLPOINT,
WINED3DSPR_PATCHCONST,
WINED3DSPR_TESSCOORD,
WINED3DSPR_GROUPSHAREDMEM,