diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-21 02:54:59 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-21 02:54:59 +0200 |
commit | 8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3 (patch) | |
tree | 36b1983d616711d98c8d5a679961618f54c21bd1 /src/video_core/shader/decode/arithmetic_integer.cpp | |
parent | Merge pull request #3739 from MerryMage/disable_cpu_opt (diff) | |
download | yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.tar yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.tar.gz yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.tar.bz2 yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.tar.lz yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.tar.xz yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.tar.zst yuzu-8734ccb0cb4b019ad6c4b9f236a58b7f9048c6e3.zip |
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_integer.cpp')
-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 0f4c3103a..9af8c606d 100644 --- a/src/video_core/shader/decode/arithmetic_integer.cpp +++ b/src/video_core/shader/decode/arithmetic_integer.cpp @@ -249,8 +249,8 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) { } case OpCode::Id::LEA_IMM: { const bool neg = instr.lea.imm.neg != 0; - return {Immediate(static_cast<u32>(instr.lea.imm.entry_a)), - GetOperandAbsNegInteger(GetRegister(instr.gpr8), false, neg, true), + return {GetOperandAbsNegInteger(GetRegister(instr.gpr8), false, neg, true), + Immediate(static_cast<u32>(instr.lea.imm.entry_a)), Immediate(static_cast<u32>(instr.lea.imm.entry_b))}; } case OpCode::Id::LEA_RZ: { |