wined3d: Match the d3d10 name for WINED3DDECLUSAGE_POSITION.

I.e., make sure that if a SM4 shader uses SV_POSITION it ends up as position
data.
This commit is contained in:
Henri Verbeet 2009-05-28 08:44:21 +02:00 committed by Alexandre Julliard
parent 3925cd5f15
commit fcf7844653
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ static const char *shader_semantic_name_from_usage(WINED3DDECLUSAGE usage)
{
static const char *semantic_names[] =
{
/* WINED3DDECLUSAGE_POSITION */ "POSITION",
/* WINED3DDECLUSAGE_POSITION */ "SV_POSITION",
/* WINED3DDECLUSAGE_BLENDWEIGHT */ "BLENDWEIGHT",
/* WINED3DDECLUSAGE_BLENDINDICES */ "BLENDINDICES",
/* WINED3DDECLUSAGE_NORMAL */ "NORMAL",