xref: /aosp_15_r20/external/skia/tests/sksl/folding/MatrixFoldingES3.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1
2out vec4 sk_FragColor;
3uniform vec4 colorRed;
4uniform vec4 colorGreen;
5bool test_eq_half_b() {
6    bool ok = true;
7    return ok;
8}
9bool test_matrix_op_matrix_float_b() {
10    bool ok = true;
11    return ok;
12}
13bool test_matrix_op_matrix_half_b() {
14    bool ok = true;
15    return ok;
16}
17bool test_vector_op_matrix_float_b() {
18    bool ok = true;
19    return ok;
20}
21bool test_vector_op_matrix_half_b() {
22    bool ok = true;
23    return ok;
24}
25bool test_matrix_op_vector_float_b() {
26    bool ok = true;
27    return ok;
28}
29bool test_matrix_op_vector_half_b() {
30    bool ok = true;
31    return ok;
32}
33vec4 main() {
34    const bool _0_ok = true;
35    return ((((((_0_ok && test_eq_half_b()) && test_matrix_op_matrix_float_b()) && test_matrix_op_matrix_half_b()) && test_vector_op_matrix_float_b()) && test_vector_op_matrix_half_b()) && test_matrix_op_vector_float_b()) && test_matrix_op_vector_half_b() ? colorGreen : colorRed;
36}
37