Commit 916167e9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Recognize the SM4 resource register type.

parent 6cbf1dd4
...@@ -1027,6 +1027,10 @@ static void shader_dump_register(const struct wined3d_shader_register *reg, ...@@ -1027,6 +1027,10 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
TRACE("null"); TRACE("null");
break; break;
case WINED3DSPR_RESOURCE:
TRACE("t");
break;
default: default:
TRACE("unhandled_rtype(%#x)", reg->type); TRACE("unhandled_rtype(%#x)", reg->type);
break; break;
......
...@@ -166,7 +166,7 @@ static const WINED3DSHADER_PARAM_REGISTER_TYPE register_type_table[] = ...@@ -166,7 +166,7 @@ static const WINED3DSHADER_PARAM_REGISTER_TYPE register_type_table[] =
/* WINED3D_SM4_RT_IMMCONST */ WINED3DSPR_IMMCONST, /* WINED3D_SM4_RT_IMMCONST */ WINED3DSPR_IMMCONST,
/* UNKNOWN */ 0, /* UNKNOWN */ 0,
/* WINED3D_SM4_RT_SAMPLER */ WINED3DSPR_SAMPLER, /* WINED3D_SM4_RT_SAMPLER */ WINED3DSPR_SAMPLER,
/* UNKNOWN */ 0, /* WINED3D_SM4_RT_RESOURCE */ WINED3DSPR_RESOURCE,
/* WINED3D_SM4_RT_CONSTBUFFER */ WINED3DSPR_CONSTBUFFER, /* WINED3D_SM4_RT_CONSTBUFFER */ WINED3DSPR_CONSTBUFFER,
/* UNKNOWN */ 0, /* UNKNOWN */ 0,
/* UNKNOWN */ 0, /* UNKNOWN */ 0,
......
...@@ -309,6 +309,7 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE ...@@ -309,6 +309,7 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE
WINED3DSPR_IMMCONST, WINED3DSPR_IMMCONST,
WINED3DSPR_CONSTBUFFER, WINED3DSPR_CONSTBUFFER,
WINED3DSPR_NULL, WINED3DSPR_NULL,
WINED3DSPR_RESOURCE,
} WINED3DSHADER_PARAM_REGISTER_TYPE; } WINED3DSHADER_PARAM_REGISTER_TYPE;
enum wined3d_immconst_type enum wined3d_immconst_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