2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #2777 from ReinUsesLisp/hsetp2-fe3h-fix

half_set_predicate: Fix HSETP2_C constant buffer offset
This commit is contained in:
bunnei 2019-08-21 10:29:17 -04:00 committed by GitHub
commit dfdd20142e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ u32 ShaderIR::DecodeHalfSetPredicate(NodeBlock& bb, u32 pc) {
case OpCode::Id::HSETP2_C: case OpCode::Id::HSETP2_C:
cond = instr.hsetp2.cbuf_and_imm.cond; cond = instr.hsetp2.cbuf_and_imm.cond;
h_and = instr.hsetp2.cbuf_and_imm.h_and; 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); instr.hsetp2.cbuf.abs_b, instr.hsetp2.cbuf.negate_b);
break; break;
case OpCode::Id::HSETP2_IMM: case OpCode::Id::HSETP2_IMM: