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