VERY experimental Nintendo Switch 2 emulator
C++
gl_shader_decompiler: Allow std::move to function in SetPredicate
Lioncashce07dbf817f9
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cppindex f9ef9d1940..a88cf8699b 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));}