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