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

wined3d: Recognize SM5 vGSInstanceID register.

parent 2386e37b
......@@ -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
......
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