• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3struct A {
4    int x;
5    int y;
6};
7A a1;
8struct B {
9    float x;
10    float y[2];
11    layout (binding = 1) A z;
12};
13B b1;
14void main() {
15    a1.x = 0;
16    b1.x = 0.0;
17    sk_FragColor.x = float(a1.x) + b1.x;
18}
19