wined3d: Recognize the SM4 resource register type.

This commit is contained in:
Henri Verbeet 2010-10-12 13:40:03 +02:00 committed by Alexandre Julliard
parent 6cbf1dd4b5
commit 916167e93a
3 changed files with 6 additions and 1 deletions

View File

@ -1027,6 +1027,10 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
TRACE("null");
break;
case WINED3DSPR_RESOURCE:
TRACE("t");
break;
default:
TRACE("unhandled_rtype(%#x)", reg->type);
break;

View File

@ -166,7 +166,7 @@ static const WINED3DSHADER_PARAM_REGISTER_TYPE register_type_table[] =
/* WINED3D_SM4_RT_IMMCONST */ WINED3DSPR_IMMCONST,
/* UNKNOWN */ 0,
/* WINED3D_SM4_RT_SAMPLER */ WINED3DSPR_SAMPLER,
/* UNKNOWN */ 0,
/* WINED3D_SM4_RT_RESOURCE */ WINED3DSPR_RESOURCE,
/* WINED3D_SM4_RT_CONSTBUFFER */ WINED3DSPR_CONSTBUFFER,
/* UNKNOWN */ 0,
/* UNKNOWN */ 0,

View File

@ -309,6 +309,7 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE
WINED3DSPR_IMMCONST,
WINED3DSPR_CONSTBUFFER,
WINED3DSPR_NULL,
WINED3DSPR_RESOURCE,
} WINED3DSHADER_PARAM_REGISTER_TYPE;
enum wined3d_immconst_type