VertexShaderGen: Fix unescaped { in D3D shader.

This commit is contained in:
Admiral H. Curtiss 2020-10-19 20:05:07 +02:00
parent 0f5bf90013
commit b93adeaad7
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ ShaderCode GenerateVertexShaderCode(APIType api_type, const ShaderHostConfig& ho
} }
if ((uid_data->components & VB_HAS_POSMTXIDX) != 0) if ((uid_data->components & VB_HAS_POSMTXIDX) != 0)
out.WriteFmt(" uint4 posmtx : BLENDINDICES,\n"); out.WriteFmt(" uint4 posmtx : BLENDINDICES,\n");
out.WriteFmt(" float4 rawpos : POSITION) {\n"); out.WriteFmt(" float4 rawpos : POSITION) {{\n");
} }
out.WriteFmt("VS_OUTPUT o;\n"); out.WriteFmt("VS_OUTPUT o;\n");