glsl: support processing of mixed syntax multidim arrays