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