Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / shared / FunctionAnonymousParameters.sksl
1 uniform half4 colorGreen, colorRed;
2
3 struct S { int i; };
4
5 half4 fnGreen(bool b, float2) {
6     return colorGreen;
7 }
8
9 half4 fnRed(int, float f, S) {
10     return colorRed;
11 }
12
13 half4 main(float2 coords) {
14     return bool(colorGreen.g) ? fnGreen(true, coords) : fnRed(123, 3.14, S(0));
15 }