mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 20:50:05 +00:00
Shader/F2I: Implemented the negate bit in the F2I instruction.
This commit is contained in:
parent
40f83fee6a
commit
11c221cc62
@ -1306,6 +1306,10 @@ private:
|
|||||||
op_a = "abs(" + op_a + ')';
|
op_a = "abs(" + op_a + ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (instr.conversion.negate_a) {
|
||||||
|
op_a = "-(" + op_a + ')';
|
||||||
|
}
|
||||||
|
|
||||||
switch (instr.conversion.f2i.rounding) {
|
switch (instr.conversion.f2i.rounding) {
|
||||||
case Tegra::Shader::F2iRoundingOp::None:
|
case Tegra::Shader::F2iRoundingOp::None:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user