diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-16 01:00:20 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-16 01:00:48 +0200 |
commit | 67df3f7742187abb34d9a2eb4633334331c3318e (patch) | |
tree | 16cb5eaae86cb451fcefa93d0f7d0f0585ea924a /src/video_core | |
parent | gl_shader_decompiler: Fold flow_var constant into GetFlowVariable() (diff) | |
download | yuzu-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')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 2 |
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); } |