1 # This test verifies that uniform indexing of UBO arrays in the
2 # fragment shader behaves correctly, when the block member is a
7 GL_ARB_arrays_of_arrays
9 [vertex shader passthrough]
13 #extension GL_ARB_arrays_of_arrays: require
25 color = arr[3][0].color[1] + arr[1][1].color[0];
29 clear color 0.2 0.2 0.2 0.2
33 uniform vec4 block.color[0] 0.0 1.0 0.0 0.0
34 uniform vec4 block.color[1] 1.0 0.0 0.0 0.0
37 uniform vec4 block.color[0] 1.0 0.0 0.0 0.0
38 uniform vec4 block.color[1] 0.0 0.0 1.0 0.0
41 relative probe rect rgb (0.0, 0.0, 0.5, 0.5) (0.0, 1.0, 1.0)