• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3struct Test {
4    layout (offset = 0) int x;
5    layout (offset = 4) int y;
6    int z;
7};
8void main() {
9    Test t;
10    t.x = 0;
11    sk_FragColor.x = float(t.x);
12}
13