uniforms: support mapping arrays of structures