glsl: Fix param type and start implementing arrays_of_arrays constructor