Indeed, the "problem" is that some drivers are more tolerant than others, and I unfortunately have a tolerant one. From John Pillow's log:
Code:
WARNING: failed to compile fragment shader
ERROR: 0:15: No matching function for call to mod(int, int)
The problem here is that mod expects floats, according to the documentation, and it does not seem to implicitly cast types (probably according to specs). So that should be easily fixable. Hopefully, the nvidia shader compiler can at least output warnings when I don't follow the specs correctly, so I'll look into that first