1cb93a386Sopenharmony_ciuniform half4 colorGreen, colorRed;
2cb93a386Sopenharmony_ci
3cb93a386Sopenharmony_cihalf4 main(float2 coords) {
4cb93a386Sopenharmony_ci    const float2x3 f23 = matrixCompMult(float2x3(4), float2x3(5));
5cb93a386Sopenharmony_ci    const half3x2 h32 = matrixCompMult(half3x2(5), half3x2(3));
6cb93a386Sopenharmony_ci    half2x4 h24 = matrixCompMult(half2x4(9, 9, 9, 9, 9, 9, 9, 9),
7cb93a386Sopenharmony_ci                                 half2x4(colorRed, colorGreen));
8cb93a386Sopenharmony_ci    half4x2 h42 = matrixCompMult(half4x2(1, 2, 3, 4, 5, 6, 7, 8),
9cb93a386Sopenharmony_ci                                 half4x2(colorRed, colorGreen));
10cb93a386Sopenharmony_ci    const float3x4 f34 = matrixCompMult(float3x4(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12),
11cb93a386Sopenharmony_ci                                        float3x4(12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1));
12cb93a386Sopenharmony_ci    float4x3 f43 = matrixCompMult(float4x3(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12),
13cb93a386Sopenharmony_ci                                  float4x3(12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1));
14cb93a386Sopenharmony_ci    return (f23 == float2x3(20) &&
15cb93a386Sopenharmony_ci            h32 == half3x2(15) &&
16cb93a386Sopenharmony_ci            h24 == half2x4(9, 0, 0, 9, 0, 9, 0, 9) &&
17cb93a386Sopenharmony_ci            h42 == half4x2(1, 0, 0, 4, 0, 6, 0, 8) &&
18cb93a386Sopenharmony_ci            f34 == float3x4(12, 22, 30, 36, 40, 42, 42, 40, 36, 30, 22, 12) &&
19cb93a386Sopenharmony_ci            f43 == float4x3(12, 22, 30, 36, 40, 42, 42, 40, 36, 30, 22, 12)) ? colorGreen
20cb93a386Sopenharmony_ci                                                                             : colorRed;
21cb93a386Sopenharmony_ci}
22