glsl: again just support single dimesnions for now