skia2/resources/sksl/errors/StaticIfTest.sksl

8 lines
114 B
Plaintext
Raw Normal View History

uniform float unknownInput;
void main() {
@if (unknownInput < 10) {
sk_FragColor = half4(1);
}
}