glsl: support single dim arrays for now