summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-18 01:28:41 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-18 01:28:41 -0300
commitf5658a9fdab5e4511a9204a4747b7f733f67d04f (patch)
treecb2d89aa7862d42c65f907e19bb21d3ff07f3ad5 /src
parent5afc397d52f71e0831fee72d6e1aca3683a3a0ef (diff)
gl_shader_decompiler: Don't redeclare gl_VertexID and gl_InstanceID
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index f53d7021e..e6ae8041b 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -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;");