forked from dolphin-emu/dolphin
(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.
44 KiB
44 KiB