blob: 1ea763a838275bddb1dc92b6cd7316ae6a8eb7b7 [file] [log] [blame]
uniform vec2 u_skRTFlip;
out vec4 sk_FragColor;
uniform vec4 testInputs;
uniform vec4 colorGreen;
uniform vec4 colorRed;
vec4 main() {
vec4 expected = vec4(0.0);
return (((((u_skRTFlip.y * dFdy(testInputs.x) == expected.x && u_skRTFlip.y * dFdy(testInputs.xy) == expected.xy) && u_skRTFlip.y * dFdy(testInputs.xyz) == expected.xyz) && u_skRTFlip.y * dFdy(testInputs) == expected) && sign(u_skRTFlip.y * dFdy(coords.xx)) == vec2(0.0, 0.0)) && sign(u_skRTFlip.y * dFdy(coords.yy)) == vec2(1.0, 1.0)) && sign(u_skRTFlip.y * dFdy(coords)) == vec2(0.0, 1.0) ? colorGreen : colorRed;
}