skia2/tests/sksl/shared/EmptyBlocksES2.glsl

10 lines
209 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform float unknownInput;
vec4 main() {
vec4 color = vec4(0.0);
if (unknownInput == 1.0) color.y = 1.0;
if (unknownInput == 2.0) ; else color.w = 1.0;
return color;
}