summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-03 21:54:11 +0200
committerGitHub <noreply@github.com>2018-08-03 21:54:11 +0200
commit29f31356d84fa26b361d689b222fe1d7e9d2a0ed (patch)
tree1c8b9d08ed52446659aa983ff262353f53eacf17 /src/video_core
parentMerge pull request #908 from lioncash/memory (diff)
parentgl_shader_decompiler: Remove unused variable in GenerateDeclarations() (diff)
downloadyuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.tar
yuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.tar.gz
yuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.tar.bz2
yuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.tar.lz
yuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.tar.xz
yuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.tar.zst
yuzu-29f31356d84fa26b361d689b222fe1d7e9d2a0ed.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index acf067050..68db3c22a 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -412,7 +412,6 @@ public:
}
declarations.AddNewLine();
- unsigned const_buffer_layout = 0;
for (const auto& entry : GetConstBuffersDeclarations()) {
declarations.AddLine("layout(std140) uniform " + entry.GetName());
declarations.AddLine('{');
@@ -420,7 +419,6 @@ public:
"[MAX_CONSTBUFFER_ELEMENTS];");
declarations.AddLine("};");
declarations.AddNewLine();
- ++const_buffer_layout;
}
declarations.AddNewLine();