1 2out vec4 sk_FragColor; 3uniform vec4 inputVal; 4uniform vec4 expected; 5uniform vec4 colorGreen; 6uniform vec4 colorRed; 7vec4 main() { 8 const vec4 negativeVal = vec4(-1.0, -4.0, -16.0, -64.0); 9 return ((((((((((sqrt(inputVal.x) == expected.x && sqrt(inputVal.xy) == expected.xy) && sqrt(inputVal.xyz) == expected.xyz) && sqrt(inputVal) == expected) && 1.0 == expected.x) && vec2(1.0, 2.0) == expected.xy) && vec3(1.0, 2.0, 4.0) == expected.xyz) && vec4(1.0, 2.0, 4.0, 8.0) == expected) && sqrt(-1.0) == expected.x) && sqrt(vec2(-1.0, -4.0)) == expected.xy) && sqrt(vec3(-1.0, -4.0, -16.0)) == expected.xyz) && sqrt(negativeVal) == expected ? colorGreen : colorRed; 10} 11