3 uniform mat2 testMatrix2x2;
5 uniform vec4 colorGreen;
6 uniform float unknownInput;
7 bool test_matrix_op_scalar_float_b() {
11 bool test_matrix_op_scalar_half_b() {
15 bool test_matrix_op_matrix_float_b() {
19 bool test_matrix_op_matrix_half_b() {
23 bool test_vector_op_matrix_float_b() {
27 bool test_vector_op_matrix_half_b() {
31 bool test_matrix_op_vector_float_b() {
35 bool test_matrix_op_vector_half_b() {
41 _0_ok = _0_ok && mat3(unknownInput) == mat3(mat2(1.0));
42 _0_ok = _0_ok && mat3(9.0, 0.0, 0.0, 0.0, 9.0, 0.0, 0.0, 0.0, unknownInput) == mat3(mat2(9.0));
43 _0_ok = _0_ok && vec4(testMatrix2x2) == vec4(1.0, 2.0, 3.0, 4.0);
46 _0_ok = _0_ok && mat3(1.0, 2.0, 3.0, 4.0, _3_five, 6.0, 7.0, 8.0, 9.0)[1] == vec3(4.0, _3_five, 6.0);
49 _0_ok = _0_ok && mat4(mat3(testMatrix2x2))[0] == vec4(1.0, 2.0, 0.0, 0.0);
50 _0_ok = _0_ok && mat4(mat3(testMatrix2x2))[1] == vec4(3.0, 4.0, 0.0, 0.0);
52 return (((((((_0_ok && test_matrix_op_scalar_float_b()) && test_matrix_op_scalar_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;