1cb93a386Sopenharmony_ci
2cb93a386Sopenharmony_ciout vec4 sk_FragColor;
3cb93a386Sopenharmony_ciuniform float testInput;
4cb93a386Sopenharmony_ciuniform mat2 testMatrix2x2;
5cb93a386Sopenharmony_ciuniform vec4 colorGreen;
6cb93a386Sopenharmony_ciuniform vec4 colorRed;
7cb93a386Sopenharmony_civec4 main() {
8cb93a386Sopenharmony_ci    vec4 inputVal = vec4(testMatrix2x2) * vec4(1.0, 1.0, -1.0, -1.0);
9cb93a386Sopenharmony_ci    const ivec4 expectedB = ivec4(1065353216, 1073741824, -1069547520, -1065353216);
10cb93a386Sopenharmony_ci    return ((floatBitsToInt(inputVal.x) == 1065353216 && floatBitsToInt(inputVal.xy) == ivec2(1065353216, 1073741824)) && floatBitsToInt(inputVal.xyz) == ivec3(1065353216, 1073741824, -1069547520)) && floatBitsToInt(inputVal) == expectedB ? colorGreen : colorRed;
11cb93a386Sopenharmony_ci}
12