summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-20 20:25:12 +0200
committerLioncash <mathew1800@gmail.com>2018-10-20 20:25:15 +0200
commit8a86c8d48b7ca8b7c9217938a36720e616a2ebad (patch)
treeb28a6241329122c70d28497daaffb88c1145c20c /src
parentgl_shader_decompiler: Get rid of variable shadowing warnings (diff)
downloadyuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.tar
yuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.tar.gz
yuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.tar.bz2
yuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.tar.lz
yuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.tar.xz
yuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.tar.zst
yuzu-8a86c8d48b7ca8b7c9217938a36720e616a2ebad.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index f9ef9d194..a88cf8699 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -952,7 +952,7 @@ private:
// Can't assign to the constant predicate.
ASSERT(pred != static_cast<u64>(Pred::UnusedIndex));
- const std::string variable = 'p' + std::to_string(pred) + '_' + suffix;
+ std::string variable = 'p' + std::to_string(pred) + '_' + suffix;
shader.AddLine(variable + " = " + value + ';');
declr_predicates.insert(std::move(variable));
}