skia2/resources/sksl/shared/StaticSwitch.sksl

7 lines
130 B
Plaintext
Raw Normal View History

void main() {
@switch (1) {
case 1: sk_FragColor = half4(1); break;
default: sk_FragColor = half4(0);
}
}