From 31c3bee5bc7d542c78b7c959dc174224b32a1d6c Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 1 Feb 2014 11:35:46 +0100 Subject: [PATCH] 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. --- Source/Core/VideoCommon/VertexShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index 57742889eb..b805b0459a 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -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");