diff options
author | bunnei <bunneidev@gmail.com> | 2019-08-21 16:29:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 16:29:17 +0200 |
commit | dfdd20142e87f284257e3ef148ccc7acd7bbb7f8 (patch) | |
tree | 0edd67fdd3f3067d6242e1ee08a7b38c96332cb1 | |
parent | Merge pull request #2753 from FernandoS27/float-convert (diff) | |
parent | half_set_predicate: Fix HSETP2_C constant buffer offset (diff) | |
download | yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.tar yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.tar.gz yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.tar.bz2 yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.tar.lz yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.tar.xz yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.tar.zst yuzu-dfdd20142e87f284257e3ef148ccc7acd7bbb7f8.zip |
-rw-r--r-- | src/video_core/shader/decode/half_set_predicate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/half_set_predicate.cpp b/src/video_core/shader/decode/half_set_predicate.cpp index a6c082cc9..afea33e5f 100644 --- a/src/video_core/shader/decode/half_set_predicate.cpp +++ b/src/video_core/shader/decode/half_set_predicate.cpp @@ -30,7 +30,7 @@ u32 ShaderIR::DecodeHalfSetPredicate(NodeBlock& bb, u32 pc) { case OpCode::Id::HSETP2_C: cond = instr.hsetp2.cbuf_and_imm.cond; h_and = instr.hsetp2.cbuf_and_imm.h_and; - op_b = GetOperandAbsNegHalf(GetConstBuffer(instr.cbuf34.index, instr.cbuf34.offset), + op_b = GetOperandAbsNegHalf(GetConstBuffer(instr.cbuf34.index, instr.cbuf34.GetOffset()), instr.hsetp2.cbuf.abs_b, instr.hsetp2.cbuf.negate_b); break; case OpCode::Id::HSETP2_IMM: |