Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / shared / FunctionPrototype.sksl
1 uniform half4 colorGreen;
2
3 float this_function_is_prototyped_at_the_start_and_never_defined();
4 half4 this_function_is_defined_before_use(half4 x);
5 half4 this_function_is_defined_after_use(half4 x);
6 half4 this_function_is_defined_near_the_end(half4 x);
7
8 half4 this_function_is_defined_before_use(half4 x) {
9     return -this_function_is_defined_near_the_end(x);
10 }
11
12 bool this_function_is_prototyped_in_the_middle_and_never_defined(float4x4 a);
13
14 half4 main(float2 coords) {
15     return this_function_is_defined_after_use(colorGreen);
16 }
17
18 half4 this_function_is_defined_after_use(half4 x) {
19     return this_function_is_defined_before_use(-x);
20 }
21
22 half4 this_function_is_defined_near_the_end(half4 x) {
23     return x;
24 }
25
26 int3 this_function_is_prototyped_at_the_very_end_and_never_defined(half2x2 x, bool2 y);