1 2out vec4 sk_FragColor; 3uniform vec4 colorGreen; 4uniform vec4 colorRed; 5bool test_int_b() { 6 int one = 1; 7 const int two = 2; 8 ivec4 result; 9 result.x = 1; 10 result.y = 1; 11 result.z = 1; 12 result.w = int(-ivec2(-one, one + one) == -ivec2(one - two, 2) ? 1 : 0); 13 return bool(((result.x * result.y) * result.z) * result.w); 14} 15vec4 main() { 16 const float _0_one = 1.0; 17 float _1_two = 2.0; 18 vec4 _2_result; 19 _2_result.x = 1.0; 20 _2_result.y = 1.0; 21 _2_result.z = float(-vec4(_1_two) == vec4(-_1_two, vec3(-_1_two)) ? 1 : 0); 22 _2_result.w = float(vec2(1.0, -2.0) == -vec2(_0_one - _1_two, _1_two) ? 1 : 0); 23 return bool(((_2_result.x * _2_result.y) * _2_result.z) * _2_result.w) && test_int_b() ? colorGreen : colorRed; 24} 25