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