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