diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-27 22:37:18 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-27 22:37:20 +0100 |
commit | 523a709bf1382419495035161c67d5e8dd3e2556 (patch) | |
tree | 35cbf15eddcc6f5a58a38291ef2d7d9e2453d30b /src/video_core/shader/decode/arithmetic_integer.cpp | |
parent | shader/lea: Remove const and use move when possible (diff) | |
download | yuzu-523a709bf1382419495035161c67d5e8dd3e2556.tar yuzu-523a709bf1382419495035161c67d5e8dd3e2556.tar.gz yuzu-523a709bf1382419495035161c67d5e8dd3e2556.tar.bz2 yuzu-523a709bf1382419495035161c67d5e8dd3e2556.tar.lz yuzu-523a709bf1382419495035161c67d5e8dd3e2556.tar.xz yuzu-523a709bf1382419495035161c67d5e8dd3e2556.tar.zst yuzu-523a709bf1382419495035161c67d5e8dd3e2556.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_integer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/arithmetic_integer.cpp b/src/video_core/shader/decode/arithmetic_integer.cpp index 5d546ddec..41ddc6221 100644 --- a/src/video_core/shader/decode/arithmetic_integer.cpp +++ b/src/video_core/shader/decode/arithmetic_integer.cpp @@ -272,8 +272,8 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) { "Unhandled LEA Predicate"); Node shifted_c = Operation(OperationCode::ILogicalShiftLeft, Immediate(1), std::move(op_c)); - Node mul_bc = Operation(OperationCode::IMul, std::move(op_b), std::move(shifted_c)); - Node value = Operation(OperationCode::IAdd, std::move(op_a), std::move(mul_bc)); + Node mul_bc = Operation(OperationCode::IMul, std::move(op_a), std::move(shifted_c)); + Node value = Operation(OperationCode::IAdd, std::move(op_b), std::move(mul_bc)); SetRegister(bb, instr.gpr0, std::move(value)); break; |