blob: 2d5c1215b27e5c70ed8c1ed67d78d64aab96652b [file] [log] [blame]
uniform half4 inputVal, expected;
uniform half4 colorGreen, colorRed;
half4 main(float2 coords) {
const half4 constVal1 = half4(0, 0.2449186624037091292, 0.46211715726000975, 0.761594155955764);
return (atanh(inputVal.x) == expected.x &&
atanh(inputVal.xy) == expected.xy &&
atanh(inputVal.xyz) == expected.xyz &&
atanh(inputVal.xyzw) == expected.xyzw &&
atanh(constVal1.x) == expected.x &&
atanh(constVal1.xy) == expected.xy &&
atanh(constVal1.xyz) == expected.xyz &&
atanh(constVal1.xyzw) == expected.xyzw) ? colorGreen : colorRed;
}