1 2out vec4 sk_FragColor; 3void main() { 4 float x = 0.0; 5 switch (0) { 6 case 0: 7 x = 0.0; 8 if (x < 1.0) break; 9 case 1: 10 x = 1.0; 11 } 12 sk_FragColor = vec4(x); 13} 14