2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #624 from Subv/f2f_round

GPU: Implemented the F2F 'round' rounding mode.
This commit is contained in:
bunnei 2018-07-05 11:30:29 -04:00 committed by GitHub
commit 637f9d780a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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