glsl: just support single dims for now
glsl: just support single dim arrays for now