1 2out vec4 sk_FragColor; 3uniform vec4 testInputs; 4uniform vec4 colorGreen; 5uniform vec4 colorRed; 6vec4 main() { 7 vec4 expected = vec4(0.0); 8 return (((((dFdx(testInputs.x) == expected.x && dFdx(testInputs.xy) == expected.xy) && dFdx(testInputs.xyz) == expected.xyz) && dFdx(testInputs) == expected) && sign(dFdx(coords.xx)) == vec2(1.0, 1.0)) && sign(dFdx(coords.yy)) == vec2(0.0, 0.0)) && sign(dFdx(coords)) == vec2(1.0, 0.0) ? colorGreen : colorRed; 9} 10