Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / shared / ResizeMatrixNonsquare.glsl
1
2 out vec4 sk_FragColor;
3 uniform vec4 colorGreen;
4 uniform vec4 colorRed;
5 vec4 main() {
6     float result = 0.0;
7     mat3 g = mat3(mat2x3(1.0));
8     result += g[0].x;
9     mat3 h = mat3(mat3x2(1.0));
10     result += h[0].x;
11     mat4 i = mat4(mat4x3((mat4x2(1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0) * 1.0)));
12     result += i[0].x;
13     mat4 j = mat4(mat3x4(mat2x4(1.0)));
14     result += j[0].x;
15     mat2x4 k = mat2x4((mat4x2(1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0) * 1.0));
16     result += k[0].x;
17     mat4x2 l = mat4x2(mat2x4(1.0));
18     result += l[0].x;
19     return result == 6.0 ? colorGreen : colorRed;
20 }