summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-03 18:18:28 +0200
committerLioncash <mathew1800@gmail.com>2018-08-03 18:18:31 +0200
commitb45e5c2399f52285c2cadcc62f4124096df218e4 (patch)
treeb2dbb7153f36e87438b4c3e4fea265f6cf11ba2f /src/video_core
parentAdded ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851) (diff)
downloadyuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.tar
yuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.tar.gz
yuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.tar.bz2
yuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.tar.lz
yuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.tar.xz
yuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.tar.zst
yuzu-b45e5c2399f52285c2cadcc62f4124096df218e4.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();