diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-12-19 15:54:13 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-12-19 15:54:13 -0600 |
| commit | 2a95454c01e771e6b2c43da746cdc90eda139b89 (patch) | |
| tree | 358e64555f387fa7bf2274137665ed439077ebb2 /Source/Core/VideoCommon/VertexShaderGen.cpp | |
| parent | ca18e51450a8155bb66cf0816f25057717a792c6 (diff) | |
| parent | 0d79e8f32b1dd3f03fdcb857cd7e5c9b7ce30dfe (diff) | |
Merge pull request #1717 from Armada651/geom-shaderpack
VideoCommon: Don't specify the redundant in/out qualifier if GL_ARB_shading_language_420pack is supported.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index f14cd559da..10ebc89f86 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -75,8 +75,8 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ if (g_ActiveConfig.backend_info.bSupportsGeometryShaders) { out.Write("out VertexData {\n" - "\tcentroid out VS_OUTPUT o;\n" - "};\n"); + "\tcentroid %s VS_OUTPUT o;\n" + "};\n", g_ActiveConfig.backend_info.bSupportsBindingLayout ? "" : "out"); } else { |
