mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 13:33:40 +01:00

(x % y) is not defined in GLSL when sign(x) != sign(y). This also has the added benefit of behaving the same as sampler wrapping modes, in regards to negative inputs.