skia2/tests/sksl/shared/StaticSwitchWithConditionalBreakInsideBlock.glsl

15 lines
237 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
void main() {
switch (0) {
case 0:
;
if (0.0 < sqrt(1.0)) {
sk_FragColor = vec4(0.0);
break;
}
case 1:
;
}
}