xref: /aosp_15_r20/external/skia/resources/sksl/shared/StaticSwitchWithBreak.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1void main() {
2    float x = 0.0;
3    switch (0) {
4        case 0:
5            x = 0.0;
6            break;
7        case 1:
8            x = 1.0;
9    }
10    sk_FragColor = half4(half(x));
11}
12