• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1void main() {
2    half x;
3    switch (1) {
4       case 0: x = 0; break;
5       default: x = 1; discard;
6    }
7    sk_FragColor = half4(x);
8}
9