GeometryShaderGen: Don't use centroid in for input variables.

This commit is contained in:
Jules Blok 2015-06-10 16:04:09 +02:00
parent 8e3af04d0e
commit 4cbaddb7ad

View File

@ -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<T>(out, ApiType, g_ActiveConfig.backend_info.bSupportsBindingLayout ? "centroid" : "centroid in");
GenerateVSOutputMembers<T>(out, ApiType);
out.Write("} vs[%d];\n", vertex_in);
out.Write("out VertexData {\n");