Implement correct integer division in GLSL