mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-26 01:55:39 +01:00
GPU: Implemented the F2F 'round' rounding mode.
It's implemented via the GLSL 'roundEven()' function.
This commit is contained in:
parent
81a44d38ee
commit
d800a02b4b
@ -1213,6 +1213,9 @@ private:
|
||||
switch (instr.conversion.f2f.rounding) {
|
||||
case Tegra::Shader::F2fRoundingOp::None:
|
||||
break;
|
||||
case Tegra::Shader::F2fRoundingOp::Round:
|
||||
op_a = "roundEven(" + op_a + ')';
|
||||
break;
|
||||
case Tegra::Shader::F2fRoundingOp::Floor:
|
||||
op_a = "floor(" + op_a + ')';
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user