Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / runtime / ArrayNarrowingConversions.stage
1 uniform half4 colorGreen;
2 uniform half4 colorRed;
3 half4 main(float2 coords)
4 {
5         int i2[2] = int[2](1, 2);
6         short s2[2] = short[2](1, 2);
7         float f2[2] = float[2](1.0, 2.0);
8         half h2[2] = half[2](1.0, 2.0);
9         i2 = int[2](s2);
10         s2 = short[2](i2);
11         f2 = float[2](h2);
12         h2 = half[2](f2);
13         ;
14         ;
15         const float cf2[2] = float[2](1.0, 2.0);
16         ;
17         return half4(((i2 == int[2](s2) && f2 == float[2](h2)) && i2 == int[2](1, 2)) && float[2](h2) == cf2 ? colorGreen : colorRed);
18 }