skia2/tests/sksl/shared/golden/SwitchContainingDeadCode.glsl

14 lines
197 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
void main() {
switch (int(sqrt(2.0))) {
case 0:
;
case 1:
;
default:
;
}
sk_FragColor = vec4(2.0);
}