VertexShaderGen: fix D3D posmtx attribute regression by VertexLoaderCleanup branch

Sorry, I'm too dumb too test my code. I hope this will work fine now.
This commit is contained in:
degasus 2014-02-01 11:35:46 +01:00
parent 3dd31fe22b
commit 31c3bee5bc
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);
}
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("VS_OUTPUT o;\n");