gl_shader_decompiler: Don't redeclare gl_VertexID and gl_InstanceID
This commit is contained in:
		| @@ -639,14 +639,6 @@ private: | ||||
|             code.AddLine("float gl_PointSize;"); | ||||
|         } | ||||
|  | ||||
|         if (ir.UsesInstanceId()) { | ||||
|             code.AddLine("int gl_InstanceID;"); | ||||
|         } | ||||
|  | ||||
|         if (ir.UsesVertexId()) { | ||||
|             code.AddLine("int gl_VertexID;"); | ||||
|         } | ||||
|  | ||||
|         if (ir.UsesLegacyVaryings()) { | ||||
|             code.AddLine("vec4 gl_TexCoord[8];"); | ||||
|             code.AddLine("vec4 gl_FrontColor;"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user