Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / intrinsics / Cosh.sksl
1 uniform half4 inputVal, expected;
2 uniform half4 colorGreen, colorRed;
3
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;
14 }