From dd2183dbb5aed005c83bf913cc2f14882f9c446b Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 18 Jun 2015 02:20:22 +0200 Subject: [PATCH] Revert "GeometryShaderGen: Don't use `centroid in` for input variables." This reverts commit 4cbaddb7ad1e84946a6fb1af1d853af15be90615. --- 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 5a590f1793..5ec98b3813 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); + GenerateVSOutputMembers(out, ApiType, g_ActiveConfig.backend_info.bSupportsBindingLayout ? "centroid" : "centroid in"); out.Write("} vs[%d];\n", vertex_in); out.Write("out VertexData {\n");