wined3d: Recognize SM5 vGSInstanceID 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:
parent
2386e37bd2
commit
86f9eab8e2
|
@ -2122,6 +2122,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
|
|||
shader_addline(buffer, "oMask");
|
||||
break;
|
||||
|
||||
case WINED3DSPR_GSINSTID:
|
||||
shader_addline(buffer, "vGSInstanceID");
|
||||
break;
|
||||
|
||||
default:
|
||||
shader_addline(buffer, "<unhandled_rtype(%#x)>", reg->type);
|
||||
break;
|
||||
|
|
|
@ -328,6 +328,7 @@ enum wined3d_sm4_register_type
|
|||
WINED3D_SM5_RT_LOCAL_THREAD_ID = 0x22,
|
||||
WINED3D_SM5_RT_COVERAGE = 0x23,
|
||||
WINED3D_SM5_RT_LOCAL_THREAD_INDEX = 0x24,
|
||||
WINED3D_SM5_RT_GS_INSTANCE_ID = 0x25,
|
||||
};
|
||||
|
||||
enum wined3d_sm4_output_primitive_type
|
||||
|
@ -1093,6 +1094,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
|
|||
/* WINED3D_SM5_RT_LOCAL_THREAD_ID */ WINED3DSPR_LOCALTHREADID,
|
||||
/* WINED3D_SM5_RT_COVERAGE */ WINED3DSPR_COVERAGE,
|
||||
/* WINED3D_SM5_RT_LOCAL_THREAD_INDEX */ WINED3DSPR_LOCALTHREADINDEX,
|
||||
/* WINED3D_SM5_RT_GS_INSTANCE_ID */ WINED3DSPR_GSINSTID,
|
||||
};
|
||||
|
||||
static const struct wined3d_sm4_opcode_info *get_opcode_info(enum wined3d_sm4_opcode opcode)
|
||||
|
|
|
@ -490,6 +490,7 @@ enum wined3d_shader_register_type
|
|||
WINED3DSPR_FUNCTIONPOINTER,
|
||||
WINED3DSPR_COVERAGE,
|
||||
WINED3DSPR_SAMPLEMASK,
|
||||
WINED3DSPR_GSINSTID,
|
||||
};
|
||||
|
||||
enum wined3d_data_type
|
||||
|
|
Loading…
Reference in New Issue