glsl: just support single dimension for now look if multi dim needed later
glsl: length to num_elements for structure
glsl: support single dims for now
glsl: treat builtins are single dimension arrays this should be sufficent