6 // The tests for a compiler which leads to mismatch between max_array_access
7 // and the var type when the compiler tries to optimize unused ssbo instances.
8 // This mismatch leads to crash because in some cases the type length is less
9 // than the max_array_access field.
13 layout(local_size_x = 1) in;
15 layout(packed) buffer BlockA {
19 layout(packed) buffer BlockB {
23 layout(packed) buffer BlockC {
33 result = blockA[1].a + blockB[0].a + blockC[1].a;