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

wined3d: Recognize vThreadIDInGroupFlattened register.

parent e1a44a96
......@@ -1751,6 +1751,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
shader_addline(buffer, "g");
break;
case WINED3DSPR_LOCALTHREADINDEX:
shader_addline(buffer, "vThreadIDInGroupFlattened");
break;
default:
shader_addline(buffer, "<unhandled_rtype(%#x)>", reg->type);
break;
......
......@@ -251,6 +251,7 @@ enum wined3d_sm4_register_type
WINED3D_SM5_RT_DOMAIN_LOCATION = 0x1c,
WINED3D_SM5_RT_UAV = 0x1e,
WINED3D_SM5_RT_SHARED_MEMORY = 0x1f,
WINED3D_SM5_RT_LOCAL_THREAD_INDEX = 0x24,
};
enum wined3d_sm4_output_primitive_type
......@@ -818,6 +819,11 @@ static const enum wined3d_shader_register_type register_type_table[] =
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_UAV */ WINED3DSPR_UAV,
/* WINED3D_SM5_RT_SHARED_MEMORY */ WINED3DSPR_GROUPSHAREDMEM,
/* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_LOCAL_THREAD_INDEX */ WINED3DSPR_LOCALTHREADINDEX,
};
static const struct wined3d_sm4_opcode_info *get_opcode_info(enum wined3d_sm4_opcode opcode)
......
......@@ -388,6 +388,7 @@ enum wined3d_shader_register_type
WINED3DSPR_PATCHCONST,
WINED3DSPR_TESSCOORD,
WINED3DSPR_GROUPSHAREDMEM,
WINED3DSPR_LOCALTHREADINDEX,
};
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