Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / shared / InoutParamsAreDistinct.glsl
1
2 out vec4 sk_FragColor;
3 uniform vec4 colorGreen;
4 uniform vec4 colorRed;
5 bool inout_params_are_distinct_bhh(inout float x, inout float y) {
6     x = 1.0;
7     y = 2.0;
8     return x == 1.0 && y == 2.0;
9 }
10 vec4 main() {
11     float x = 0.0;
12     return inout_params_are_distinct_bhh(x, x) ? colorGreen : colorRed;
13 }