diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-18 05:28:41 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-18 05:28:41 +0100 |
commit | f5658a9fdab5e4511a9204a4747b7f733f67d04f (patch) | |
tree | cb2d89aa7862d42c65f907e19bb21d3ff07f3ad5 | |
parent | gl_shader_decompiler: Implement legacy varyings (diff) | |
download | yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.tar yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.tar.gz yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.tar.bz2 yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.tar.lz yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.tar.xz yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.tar.zst yuzu-f5658a9fdab5e4511a9204a4747b7f733f67d04f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 8 |
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;"); |