uniform float unknownInput; void main() { const int x = 1; @switch (x) { case 1: sk_FragColor = half4(1); if (unknownInput == 2) break; default: sk_FragColor = half4(0); } }