glsl: intialise aray dimension as dereference may no always be done before this value is needed