diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:58:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:58:36 +0200 |
commit | 04a1161354e9032e36d48d112e40dce2428b049d (patch) | |
tree | 6aa075e43c754e8ce7e60a29de81c95b25b4a39f /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | gl_shader_decompiler: Mark ASTDecompiler/ExprDecompiler parameters as const references where applicable (diff) | |
download | yuzu-04a1161354e9032e36d48d112e40dce2428b049d.tar yuzu-04a1161354e9032e36d48d112e40dce2428b049d.tar.gz yuzu-04a1161354e9032e36d48d112e40dce2428b049d.tar.bz2 yuzu-04a1161354e9032e36d48d112e40dce2428b049d.tar.lz yuzu-04a1161354e9032e36d48d112e40dce2428b049d.tar.xz yuzu-04a1161354e9032e36d48d112e40dce2428b049d.tar.zst yuzu-04a1161354e9032e36d48d112e40dce2428b049d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 20dc7d3db..bd0c5c5d6 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -2271,10 +2271,8 @@ private: ShaderWriter code; }; -static constexpr std::string_view flow_var = "flow_var_"; - std::string GetFlowVariable(u32 i) { - return fmt::format("{}{}", flow_var, i); + return fmt::format("flow_var_{}", i); } class ExprDecompiler { |