1
2out vec4 sk_FragColor;
3uniform vec4 colorGreen;
4uniform vec4 colorRed;
5vec4 main() {
6    bvec4 v = bvec4(bool(colorGreen.y));
7    bvec4 result;
8    result = bvec4(v.x, true, true, true);
9    result = bvec4(v.xy, false, true);
10    result = bvec4(v.x, true, true, false);
11    result = bvec4(false, v.y, true, true);
12    result = bvec4(v.xyz, true);
13    result = bvec4(v.xy, true, true);
14    result = bvec4(v.x, false, v.z, true);
15    result = bvec4(v.x, true, false, false);
16    result = bvec4(true, v.yz, false);
17    result = bvec4(false, v.y, true, false);
18    result = bvec4(true, true, v.z, false);
19    result = v;
20    result = bvec4(v.xyz, true);
21    result = bvec4(v.xy, false, v.w);
22    result = bvec4(v.xy, true, false);
23    result = bvec4(v.x, true, v.zw);
24    result = bvec4(v.x, false, v.z, true);
25    result = bvec4(v.x, true, true, v.w);
26    result = bvec4(v.x, true, false, true);
27    result = bvec4(true, v.yzw);
28    result = bvec4(false, v.yz, true);
29    result = bvec4(false, v.y, true, v.w);
30    result = bvec4(true, v.y, true, true);
31    result = bvec4(false, false, v.zw);
32    result = bvec4(false, false, v.z, true);
33    result = bvec4(false, true, true, v.w);
34    return any(result) ? colorGreen : colorRed;
35}
36