summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-08-04 07:50:55 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-08-04 07:50:55 +0200
commitec0da3ef64bc4165a566b7fc889d9e09d9776fd9 (patch)
treef30826bfb39792e9ab2766586511d02c3c34e40a /src/video_core/shader/decode
parentMerge pull request #2770 from DarkLordZach/azure-pr-fix (diff)
downloadyuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.tar
yuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.tar.gz
yuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.tar.bz2
yuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.tar.lz
yuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.tar.xz
yuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.tar.zst
yuzu-ec0da3ef64bc4165a566b7fc889d9e09d9776fd9.zip
Diffstat (limited to 'src/video_core/shader/decode')
-rw-r--r--src/video_core/shader/decode/half_set_predicate.cpp2
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 a82a6a15c..7ec353ed1 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: