wined3d: Recognize SM5 vDomainLocation register.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-04-04 11:26:30 +02:00 committed by Alexandre Julliard
parent a5b810b0b3
commit ddc7ea39ad
3 changed files with 7 additions and 1 deletions

View File

@ -1690,6 +1690,10 @@ static void shader_dump_register(struct wined3d_string_buffer *buffer,
shader_addline(buffer, "vForkInstanceId"); shader_addline(buffer, "vForkInstanceId");
break; break;
case WINED3DSPR_TESSCOORD:
shader_addline(buffer, "vDomainLocation");
break;
default: default:
shader_addline(buffer, "<unhandled_rtype(%#x)>", reg->type); shader_addline(buffer, "<unhandled_rtype(%#x)>", reg->type);
break; break;

View File

@ -223,6 +223,7 @@ enum wined3d_sm4_register_type
WINED3D_SM4_RT_DEPTHOUT = 0xc, WINED3D_SM4_RT_DEPTHOUT = 0xc,
WINED3D_SM4_RT_NULL = 0xd, WINED3D_SM4_RT_NULL = 0xd,
WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17, WINED3D_SM5_RT_FORK_INSTANCE_ID = 0x17,
WINED3D_SM5_RT_DOMAIN_LOCATION = 0x1c,
WINED3D_SM5_RT_UAV = 0x1e, 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,
/* UNKNOWN */ ~0u, /* UNKNOWN */ ~0u,
/* UNKNOWN */ ~0u, /* WINED3D_SM5_RT_DOMAIN_LOCATION */ WINED3DSPR_TESSCOORD,
/* UNKNOWN */ ~0u, /* UNKNOWN */ ~0u,
/* WINED3D_SM5_RT_UAV */ WINED3DSPR_UAV, /* WINED3D_SM5_RT_UAV */ WINED3DSPR_UAV,
}; };

View File

@ -369,6 +369,7 @@ enum wined3d_shader_register_type
WINED3DSPR_RESOURCE, WINED3DSPR_RESOURCE,
WINED3DSPR_UAV, WINED3DSPR_UAV,
WINED3DSPR_FORKINSTID, WINED3DSPR_FORKINSTID,
WINED3DSPR_TESSCOORD,
}; };
enum wined3d_data_type enum wined3d_data_type