glsl: avoid hitting assert for arrays of arrays