summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-12-19 10:51:00 +0100
committerJules Blok <jules.blok@gmail.com>2014-12-19 12:19:15 +0100
commitcdd9e0752216735d712c84d0f7308a1081682f8e (patch)
tree440f0d67426269554e01bdcab2ab2cf86e7236d4 /Source/Core/VideoCommon/PixelShaderGen.cpp
parent02f22152bedc292101d15fb89856fa89b861bfde (diff)
VideoCommon: Add in/out qualifiers to centroid storage qualifier.
Fixes shaders for GPUs that don't support GL_ARB_shading_language_420pack.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 77f24d115c..4a63c7a977 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -320,7 +320,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
if (g_ActiveConfig.backend_info.bSupportsGeometryShaders)
{
out.Write("in VertexData {\n");
- out.Write("\tcentroid VS_OUTPUT o;\n");
+ out.Write("\tcentroid in VS_OUTPUT o;\n");
if (g_ActiveConfig.iStereoMode > 0)
out.Write("\tflat int layer;\n");