Skip to content
Snippets Groups Projects
Unverified Commit 637f9d78 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #624 from Subv/f2f_round

GPU: Implemented the F2F 'round' rounding mode.
parents 956b5db5 d800a02b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment