blob: 877d28db2259b1c3daadf0b14266bd757148960f [file] [log] [blame]
out vec4 sk_FragColor;
uniform vec4 colorGreen;
uniform vec4 colorRed;
uniform mat2 testHalf2x2;
uniform mat2 testFloat2x2;
uniform mat3 testHalf3x3;
uniform mat4x2 testFloat4x2;
vec4 main() {
bool _0_ok = true;
_0_ok = _0_ok && testHalf2x2 == mat2(1.0, 2.0, 3.0, 4.0);
_0_ok = _0_ok && testFloat2x2 == mat2(5.0, 6.0, 7.0, 8.0);
_0_ok = _0_ok && testHalf2x2 != mat2(123.0);
_0_ok = _0_ok && testFloat2x2 != mat2(456.0);
_0_ok = _0_ok && testHalf3x3 == mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
_0_ok = _0_ok && testFloat4x2 != mat4x2(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0);
return _0_ok ? colorGreen : colorRed;
}