diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-01 19:24:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 19:24:04 +0100 |
commit | eceab45dac2b67392a896fa322af15e6aa81c242 (patch) | |
tree | efe4c76ad073669099073c556201fb7c456807f2 /src/video_core/shader/decode/arithmetic_half.cpp | |
parent | Merge pull request #2073 from lioncash/opus (diff) | |
parent | shader_ir: Unify constant buffer offset values (diff) | |
download | yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.tar yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.tar.gz yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.tar.bz2 yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.tar.lz yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.tar.xz yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.tar.zst yuzu-eceab45dac2b67392a896fa322af15e6aa81c242.zip |
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_half.cpp')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_half.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/arithmetic_half.cpp b/src/video_core/shader/decode/arithmetic_half.cpp index a237dcb92..37eef2bf2 100644 --- a/src/video_core/shader/decode/arithmetic_half.cpp +++ b/src/video_core/shader/decode/arithmetic_half.cpp @@ -35,7 +35,7 @@ u32 ShaderIR::DecodeArithmeticHalf(BasicBlock& bb, const BasicBlock& code, u32 p switch (opcode->get().GetId()) { case OpCode::Id::HADD2_C: case OpCode::Id::HMUL2_C: - return GetConstBuffer(instr.cbuf34.index, instr.cbuf34.offset); + return GetConstBuffer(instr.cbuf34.index, instr.cbuf34.GetOffset()); case OpCode::Id::HADD2_R: case OpCode::Id::HMUL2_R: return GetRegister(instr.gpr20); |