John Stiles | 1049d82 | 2021-08-13 15:33:17 -0400 | [diff] [blame^] | 1 | uniform half4 input, expected; |
| 2 | uniform half4 colorGreen, colorRed; |
| 3 | |
| 4 | half4 main(float2 coords) { |
| 5 | const half4 constVal1 = half4(0, 0.2449186624037091292, 0.46211715726000975, 0.761594155955764); |
| 6 | return (atanh(input.x) == expected.x && |
| 7 | atanh(input.xy) == expected.xy && |
| 8 | atanh(input.xyz) == expected.xyz && |
| 9 | atanh(input.xyzw) == expected.xyzw && |
| 10 | atanh(constVal1.x) == expected.x && |
| 11 | atanh(constVal1.xy) == expected.xy && |
| 12 | atanh(constVal1.xyz) == expected.xyz && |
| 13 | atanh(constVal1.xyzw) == expected.xyzw) ? colorGreen : colorRed; |
| 14 | } |