diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-24 20:30:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 20:30:13 +0200 |
commit | 7c8acb00258c4853dddb87c431a76c569a1bef07 (patch) | |
tree | 41568a0e62923a7e56b389778b61fc37e3c8a8dd /src/video_core | |
parent | Merge pull request #3786 from degasus/fix_warnings (diff) | |
parent | shader/arithmetic_integer: Fix LEA_IMM encoding (diff) | |
download | yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.tar yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.tar.gz yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.tar.bz2 yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.tar.lz yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.tar.xz yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.tar.zst yuzu-7c8acb00258c4853dddb87c431a76c569a1bef07.zip |
Diffstat (limited to 'src/video_core')
-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: { |