1// Gather operation is impossible due to the presence of struct member "x" with uniform type
2
3struct Bar { uniform int x; };
4struct Foo { varying Bar b; };
5
6void a(uniform Foo * varying array, int index) {
7    Foo v = array[index];
8}
9