shader: Fix CC in I2I

This commit is contained in:
ReinUsesLisp 2021-04-11 21:15:44 -03:00 committed by ameerj
parent 23b8714732
commit 2516829e4c
1 changed files with 2 additions and 0 deletions

View File

@ -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