glsl: again make work with single dimension array
add support for multidimensions later