Merge pull request #21 from degasus/master

VertexShaderGen: fix D3D posmtx attribute regression by VertexLoaderCleanup merge
This commit is contained in:
Pierre Bourdon 2014-02-01 02:40:17 -08:00
commit 5a95b9ec2e
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
out.Write(" float%d tex%d : TEXCOORD%d,\n", hastexmtx ? 3 : 2, i, i); out.Write(" float%d tex%d : TEXCOORD%d,\n", hastexmtx ? 3 : 2, i, i);
} }
if (components & VB_HAS_POSMTXIDX) if (components & VB_HAS_POSMTXIDX)
out.Write(" float4 fposmtx : BLENDINDICES,\n"); out.Write(" float fposmtx : BLENDINDICES,\n");
out.Write(" float4 rawpos : POSITION) {\n"); out.Write(" float4 rawpos : POSITION) {\n");
} }
out.Write("VS_OUTPUT o;\n"); out.Write("VS_OUTPUT o;\n");