1
1
Fork 0
forked from suyu/suyu

Shader/F2I: Implemented the negate bit in the F2I instruction.

This commit is contained in:
Subv 2018-08-15 09:15:55 -05:00
parent 40f83fee6a
commit 11c221cc62

View file

@ -1306,6 +1306,10 @@ private:
op_a = "abs(" + op_a + ')';
}
if (instr.conversion.negate_a) {
op_a = "-(" + op_a + ')';
}
switch (instr.conversion.f2i.rounding) {
case Tegra::Shader::F2iRoundingOp::None:
break;