glsl: fix type
glsl: cheat here and implement multi dimension support later on