blob: b03f0381a20454636953917102ab61d45add3032 [file] [log] [blame]
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform mediump vec4 colorGreen;
uniform mediump vec4 colorRed;
uniform mediump mat2 testHalf2x2;
uniform highp mat2 testFloat2x2;
uniform mediump mat3 testHalf3x3;
uniform highp mat4x2 testFloat4x2;
mediump vec4 main() {
mediump mat2 _tempMatrix0;
mediump mat2 _tempMatrix1;
highp mat2 _tempMatrix2;
highp mat2 _tempMatrix3;
mediump mat2 _tempMatrix4;
mediump mat2 _tempMatrix5;
highp mat2 _tempMatrix6;
highp mat2 _tempMatrix7;
mediump mat3 _tempMatrix8;
mediump mat3 _tempMatrix9;
highp mat4x2 _tempMatrix10;
highp mat4x2 _tempMatrix11;
bool _0_ok = true;
_0_ok = _0_ok && ((_tempMatrix0 = testHalf2x2), (_tempMatrix1 = mat2(1.0, 2.0, 3.0, 4.0)), (_tempMatrix0 == _tempMatrix1));
_0_ok = _0_ok && ((_tempMatrix2 = testFloat2x2), (_tempMatrix3 = mat2(5.0, 6.0, 7.0, 8.0)), (_tempMatrix2 == _tempMatrix3));
_0_ok = _0_ok && ((_tempMatrix4 = testHalf2x2), (_tempMatrix5 = mat2(123.0)), (_tempMatrix4 != _tempMatrix5));
_0_ok = _0_ok && ((_tempMatrix6 = testFloat2x2), (_tempMatrix7 = mat2(456.0)), (_tempMatrix6 != _tempMatrix7));
_0_ok = _0_ok && ((_tempMatrix8 = testHalf3x3), (_tempMatrix9 = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0)), (_tempMatrix8 == _tempMatrix9));
_0_ok = _0_ok && ((_tempMatrix10 = testFloat4x2), (_tempMatrix11 = mat4x2(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0)), (_tempMatrix10 != _tempMatrix11));
return _0_ok ? colorGreen : colorRed;
}