Merge pull request #9161 from AdmiralCurtiss/d3d-fmt-fix

VertexShaderGen: Fix unescaped { in D3D shader.
This commit is contained in:
LC 2020-10-19 14:17:59 -04:00 committed by GitHub
commit 213072b73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");