summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-16 01:00:20 +0200
committerLioncash <mathew1800@gmail.com>2019-10-16 01:00:48 +0200
commit67df3f7742187abb34d9a2eb4633334331c3318e (patch)
tree16cb5eaae86cb451fcefa93d0f7d0f0585ea924a /src/video_core/renderer_opengl
parentgl_shader_decompiler: Fold flow_var constant into GetFlowVariable() (diff)
downloadyuzu-67df3f7742187abb34d9a2eb4633334331c3318e.tar
yuzu-67df3f7742187abb34d9a2eb4633334331c3318e.tar.gz
yuzu-67df3f7742187abb34d9a2eb4633334331c3318e.tar.bz2
yuzu-67df3f7742187abb34d9a2eb4633334331c3318e.tar.lz
yuzu-67df3f7742187abb34d9a2eb4633334331c3318e.tar.xz
yuzu-67df3f7742187abb34d9a2eb4633334331c3318e.tar.zst
yuzu-67df3f7742187abb34d9a2eb4633334331c3318e.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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 bd0c5c5d6..2c50ed538 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -2246,7 +2246,7 @@ private:
code.AddLine("#ifdef SAMPLER_{}_IS_BUFFER", sampler.GetIndex());
}
- std::string GetDeclarationWithSuffix(u32 index, const std::string& name) const {
+ std::string GetDeclarationWithSuffix(u32 index, std::string_view name) const {
return fmt::format("{}_{}_{}", name, index, suffix);
}