wined3d: Recognize SM5 vJoinInstanceId register.

Signed-off-by: Guillaume Charifi <guillaume.charifi@sfr.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Guillaume Charifi 2017-03-02 15:11:48 +01:00 committed by Alexandre Julliard
parent 7002ab5011
commit 0046056527
3 changed files with 7 additions and 1 deletions

View File

@ -2021,6 +2021,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
shader_addline(buffer, "vForkInstanceId");
break;
case WINED3DSPR_JOININSTID:
shader_addline(buffer, "vJoinInstanceId");
break;
case WINED3DSPR_INCONTROLPOINT:
shader_addline(buffer, "vicp");
break;

View File

@ -311,6 +311,7 @@ enum wined3d_sm4_register_type
WINED3D_SM5_RT_FUNCTION_POINTER = 0x13,
WINED3D_SM5_RT_OUTPUT_CONTROL_POINT_ID = 0x16,
WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17,
WINED3D_SM5_RT_JOIN_INSTANCE_ID = 0x18,
WINED3D_SM5_RT_INPUT_CONTROL_POINT = 0x19,
WINED3D_SM5_RT_OUTPUT_CONTROL_POINT = 0x1a,
WINED3D_SM5_RT_PATCH_CONSTANT_DATA = 0x1b,
@ -1056,7 +1057,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_OUTPUT_CONTROL_POINT_ID */ WINED3DSPR_OUTPOINTID,
/* WINED3D_SM5_RT_FORK_INSTANCE_ID */ WINED3DSPR_FORKINSTID,
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_JOIN_INSTANCE_ID */ WINED3DSPR_JOININSTID,
/* WINED3D_SM5_RT_INPUT_CONTROL_POINT */ WINED3DSPR_INCONTROLPOINT,
/* WINED3D_SM5_RT_OUTPUT_CONTROL_POINT */ WINED3DSPR_OUTCONTROLPOINT,
/* WINED3D_SM5_RT_PATCH_CONSTANT_DATA */ WINED3DSPR_PATCHCONST,

View File

@ -382,6 +382,7 @@ enum wined3d_shader_register_type
WINED3DSPR_UAV,
WINED3DSPR_OUTPOINTID,
WINED3DSPR_FORKINSTID,
WINED3DSPR_JOININSTID,
WINED3DSPR_INCONTROLPOINT,
WINED3DSPR_OUTCONTROLPOINT,
WINED3DSPR_PATCHCONST,