From 4cbaddb7ad1e84946a6fb1af1d853af15be90615 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Wed, 10 Jun 2015 16:04:09 +0200 Subject: [PATCH] GeometryShaderGen: Don't use `centroid in` for input variables. --- Source/Core/VideoCommon/GeometryShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp index 8462822511..3dc745bf6a 100644 --- a/Source/Core/VideoCommon/GeometryShaderGen.cpp +++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp @@ -94,7 +94,7 @@ static inline void GenerateGeometryShader(T& out, u32 primitive_type, API_TYPE A out.Write("#define InstanceID gl_InvocationID\n"); out.Write("in VertexData {\n"); - GenerateVSOutputMembers(out, ApiType, g_ActiveConfig.backend_info.bSupportsBindingLayout ? "centroid" : "centroid in"); + GenerateVSOutputMembers(out, ApiType); out.Write("} vs[%d];\n", vertex_in); out.Write("out VertexData {\n");