dolphin-emu/dolphin — pull request #1666 by Sonicadvance1 (2014-12-07 10:03:26+00:00)
Title: Removes implementation specific GLSL round usage.

GLSL's round function is implementation specific garbage that should never be used.
According to the GLSL spec the round function is used for speed, not accuracy.
In worse case this function can even round to the nearest even number.

Potential outputs.
round(0.5):
0.0: Rounding down
0.0: Rounding to nearest even
1.0: Rounding up

round(1.5):
1.0: rounding down
2.0: rounding up
2.0: rounding to nearest even

round(3.0)
3.0: Sane
4.0: Rounding to nearest even

Screw that nonsense. Change to a system that rounds up rather than whatever the GPU feels like doing.