glsl: Fix type although I'm not sure why I'm using int instead of unsigned need to look into this again