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

wined3d: Recognize SM5 vDomainLocation register.

parent a5b810b0
......@@ -1690,6 +1690,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
shader_addline(buffer, "vForkInstanceId");
break;
case WINED3DSPR_TESSCOORD:
shader_addline(buffer, "vDomainLocation");
break;
default:
shader_addline(buffer, "<unhandled_rtype(%#x)>", reg->type);
break;
......
......@@ -223,6 +223,7 @@ enum wined3d_sm4_register_type
WINED3D_SM4_RT_DEPTHOUT = 0xc,
WINED3D_SM4_RT_NULL = 0xd,
WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17,
WINED3D_SM5_RT_DOMAIN_LOCATION = 0x1c,
WINED3D_SM5_RT_UAV = 0x1e,
};
......@@ -756,7 +757,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
/* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_DOMAIN_LOCATION */ WINED3DSPR_TESSCOORD,
/* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_UAV */ WINED3DSPR_UAV,
};
......
......@@ -369,6 +369,7 @@ enum wined3d_shader_register_type
WINED3DSPR_RESOURCE,
WINED3DSPR_UAV,
WINED3DSPR_FORKINSTID,
WINED3DSPR_TESSCOORD,
};
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