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