blob: 277d3c0c3077ccd896f630bc9f67039c298be5cd [file] [log] [blame]
uniform half4 input, expected;
uniform half4 colorGreen, colorRed;
half4 main(float2 coords) {
const half4 constVal = half4(0);
return (tan(input.x) == expected.x &&
tan(input.xy) == expected.xy &&
tan(input.xyz) == expected.xyz &&
tan(input.xyzw) == expected.xyzw &&
tan(constVal.x) == expected.x &&
tan(constVal.xy) == expected.xy &&
tan(constVal.xyz) == expected.xyz &&
tan(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
}