1void main() {
2    float x;
3    switch (int(sqrt(2))) {
4        case 0:
5            x = 0.0;
6        case 1:
7            x = 1.0;
8        default:
9            x = 2.0;
10    }
11    sk_FragColor = half4(half(x));
12}
13