1 2out vec4 sk_FragColor; 3uniform mat2 testMatrix2x2; 4uniform vec4 colorRed; 5uniform vec4 colorGreen; 6uniform float unknownInput; 7vec4 main() { 8 bool _0_ok = true; 9 _0_ok = _0_ok && mat3(unknownInput) == mat3(mat2(1.0)); 10 _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)); 11 _0_ok = _0_ok && vec4(testMatrix2x2) == vec4(1.0, 2.0, 3.0, 4.0); 12 { 13 float _3_five = 5.0; 14 _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); 15 } 16 { 17 float _4_num = 6.0; 18 _0_ok = _0_ok && mat3(1.0, 2.0, 3.0, 4.0, 5.0, _4_num++, 7.0, 8.0, 9.0)[0] == vec3(1.0, 2.0, 3.0); 19 _0_ok = _0_ok && mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, _4_num++, 8.0, 9.0)[1] == vec3(4.0, 5.0, 6.0); 20 _0_ok = _0_ok && mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, _4_num++, 9.0)[2] == vec3(7.0, 8.0, 9.0); 21 } 22 { 23 _0_ok = _0_ok && mat4(mat3(testMatrix2x2))[0] == vec4(1.0, 2.0, 0.0, 0.0); 24 _0_ok = _0_ok && mat4(mat3(testMatrix2x2))[1] == vec4(3.0, 4.0, 0.0, 0.0); 25 } 26 return _0_ok ? colorGreen : colorRed; 27} 28