shader: Fix CC in I2I

This commit is contained in:
ReinUsesLisp authored and ameerj committed 2021-07-22 21:51:27 -04:00
1 parent 1cae8e9a10
commit 211fc6331d
1 file changed
+2
@@ -105,6 +105,8 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
if (i2i.cc != 0) {
v.SetZFlag(v.ir.GetZeroFromOp(result));
v.SetSFlag(v.ir.GetSignFromOp(result));
v.ResetCFlag();
v.ResetOFlag();
}
}
} // Anonymous namespace