1 # Test interface blocks declared as arrays must match array sizes.
3 # GLSLangSpec.1.50.11, 4.3.7 Interface Blocks:
4 # "if a matching block is declared as an array, then the array sizes must
18 for(int i = 0; i < 3; i++) {
19 vs_block[i].a = vec4(1., 0., 0., 1.);
27 } fs_block[2]; //different array size should fail to link
33 color = fs_block[0].a;