1 uniform half4 inputVal, expected;
2 uniform half4 colorGreen, colorRed;
4 half4 main(float2 coords) {
5 const half4 constVal1 = half4(0, 0, 1.1752011936438014568, -1.1752011936438014568);
6 return (asinh(inputVal.x) == expected.x &&
7 asinh(inputVal.xy) == expected.xy &&
8 asinh(inputVal.xyz) == expected.xyz &&
9 asinh(inputVal.xyzw) == expected.xyzw &&
10 asinh(constVal1.x) == expected.x &&
11 asinh(constVal1.xy) == expected.xy &&
12 asinh(constVal1.xyz) == expected.xyz &&
13 asinh(constVal1.xyzw) == expected.xyzw) ? colorGreen : colorRed;