1struct A { 2 int x; 3 int y; 4} a1, a2; 5A a3; 6 7struct B { 8 float x; 9 float y[2]; 10 layout(binding=1) A z; 11}; 12B b1, b2, b3; 13 14void main() { 15 a1.x = 0; 16 b1.x = 0; 17 sk_FragColor.r = half(a1.x) + half(b1.x); 18} 19