diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:29:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:36:13 +0200 |
commit | 6adc824d9d15b476320739788564023f995b9da0 (patch) | |
tree | bb5f4932c851a88e5a9e05ddceb4ebb26c11403b /src/video_core/renderer_opengl/gl_arb_decompiler.cpp | |
parent | Merge pull request #4376 from ogniK5377/dark-wait-tree (diff) | |
download | yuzu-6adc824d9d15b476320739788564023f995b9da0.tar yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.gz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.bz2 yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.lz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.xz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.zst yuzu-6adc824d9d15b476320739788564023f995b9da0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_arb_decompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_arb_decompiler.cpp b/src/video_core/renderer_opengl/gl_arb_decompiler.cpp index eb5158407..7c8d0ef65 100644 --- a/src/video_core/renderer_opengl/gl_arb_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_arb_decompiler.cpp @@ -1671,7 +1671,7 @@ std::string ARBDecompiler::HCastFloat(Operation operation) { } std::string ARBDecompiler::HUnpack(Operation operation) { - const std::string operand = Visit(operation[0]); + std::string operand = Visit(operation[0]); switch (std::get<Tegra::Shader::HalfType>(operation.GetMeta())) { case Tegra::Shader::HalfType::H0_H1: return operand; @@ -2021,7 +2021,7 @@ std::string ARBDecompiler::InvocationId(Operation) { std::string ARBDecompiler::YNegate(Operation) { LOG_WARNING(Render_OpenGL, "(STUBBED)"); - const std::string temporary = AllocTemporary(); + std::string temporary = AllocTemporary(); AddLine("MOV.F {}, 1;", temporary); return temporary; } |