summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-08-04 02:50:55 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-08-04 02:50:55 -0300
commitec0da3ef64bc4165a566b7fc889d9e09d9776fd9 (patch)
treef30826bfb39792e9ab2766586511d02c3c34e40a /src
parent978f7067eeb8553e2adccf128d28658881246d27 (diff)
half_set_predicate: Fix HSETP2_C constant buffer offset
Diffstat (limited to 'src')
-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: