shader: Fix CC in I2I
This commit is contained in:
parent
23b8714732
commit
2516829e4c
|
@ -105,6 +105,8 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
|
||||||
if (i2i.cc != 0) {
|
if (i2i.cc != 0) {
|
||||||
v.SetZFlag(v.ir.GetZeroFromOp(result));
|
v.SetZFlag(v.ir.GetZeroFromOp(result));
|
||||||
v.SetSFlag(v.ir.GetSignFromOp(result));
|
v.SetSFlag(v.ir.GetSignFromOp(result));
|
||||||
|
v.ResetCFlag();
|
||||||
|
v.ResetOFlag();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
Reference in New Issue