xref: /aosp_15_r20/external/skia/tests/sksl/shared/Caps.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1
2out vec4 sk_FragColor;
3void main() {
4    int x = 0;
5    int y = 0;
6    int z = 0;
7    if (true) x = 1;
8    if (false) y = 1;
9    if (true) z = 1;
10    sk_FragColor.xyz = vec3(float(x), float(y), float(z));
11}
12