glsl: assume builtins are single dimension arrays