diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-05 16:18:33 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-05 16:19:09 +0100 |
commit | bf9a822b87ff362805ffefb8f76eea3c46f606a1 (patch) | |
tree | e88bfba5992eaf3a2eb6c5f9d751f7aba7999792 /src/video_core/shader/decode/bfi.cpp | |
parent | Merge pull request #3377 from ReinUsesLisp/bitset-vk (diff) | |
download | yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.tar yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.tar.gz yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.tar.bz2 yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.tar.lz yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.tar.xz yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.tar.zst yuzu-bf9a822b87ff362805ffefb8f76eea3c46f606a1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/bfi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/bfi.cpp b/src/video_core/shader/decode/bfi.cpp index f992bbe2a..70d1c055b 100644 --- a/src/video_core/shader/decode/bfi.cpp +++ b/src/video_core/shader/decode/bfi.cpp @@ -21,7 +21,7 @@ u32 ShaderIR::DecodeBfi(NodeBlock& bb, u32 pc) { switch (opcode->get().GetId()) { case OpCode::Id::BFI_RC: return {GetRegister(instr.gpr39), - GetConstBuffer(instr.cbuf34.index, instr.cbuf34.offset)}; + GetConstBuffer(instr.cbuf34.index, instr.cbuf34.GetOffset())}; case OpCode::Id::BFI_IMM_R: return {Immediate(instr.alu.GetSignedImm20_20()), GetRegister(instr.gpr39)}; default: |