wined3d: Recognize the SM4 resource register type.
This commit is contained in:
parent
6cbf1dd4b5
commit
916167e93a
|
@ -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[] =
|
||||||
/* 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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue