diff --git a/src/shader_recompiler/frontend/translate/scalar_alu.cpp b/src/shader_recompiler/frontend/translate/scalar_alu.cpp index 449b6f27b..3d00190c6 100644 --- a/src/shader_recompiler/frontend/translate/scalar_alu.cpp +++ b/src/shader_recompiler/frontend/translate/scalar_alu.cpp @@ -393,7 +393,7 @@ void Translator::S_AND_B32(NegateMode negate, const GcnInst& inst) { } IR::U32 result{ir.BitwiseAnd(src0, src1)}; if (negate == NegateMode::Result) { - result = ir.BitwiseNot(ir.BitwiseAnd(src0, src1)); + result = ir.BitwiseNot(result); } SetDst(inst.dst[0], result); ir.SetScc(ir.INotEqual(result, ir.Imm32(0)));