diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-10-30 15:13:31 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:27:38 +0100 |
| commit | 4d9589b35f2629c558a9a7efdee3d66497fc0fc6 (patch) | |
| tree | 8c1a9184f632c8931e579591cef2a1f30345b1ba /Source/Core/VideoCommon/VertexShaderGen.cpp | |
| parent | 9b4185ffdf905f9e3234372fe6dc5131e90f6c93 (diff) | |
Cosmetics.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderGen.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index aca028bda7..7c5ca62464 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -125,11 +125,7 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ out.Write("in float%d tex%d; // ATTR%d,\n", hastexmtx ? 3 : 2, i, SHADER_TEXTURE0_ATTRIB + i); } - - if (g_ActiveConfig.bStereo) - out.Write("centroid out VS_OUTPUT v;\n"); - else - out.Write("centroid out VS_OUTPUT o;\n"); + out.Write("centroid out VS_OUTPUT %s;\n", (g_ActiveConfig.bStereo) ? "v" : "o"); out.Write("void main()\n{\n"); |
