Skip to content

Commit

Permalink
GeometryShaderGen: Don't use centroid in for input variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Jun 10, 2015
1 parent 8e3af04 commit 4cbaddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/GeometryShaderGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 4cbaddb

Please sign in to comment.