void main() { int x = 1; @switch (x) { case 1: sk_FragColor = half4(1); break; default: sk_FragColor = half4(0); } }