• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2precision mediump float;
3precision mediump sampler2D;
4out mediump vec4 sk_FragColor;
5uniform mediump vec4 colorGreen;
6uniform mediump vec4 colorRed;
7uniform mediump mat2 testHalf2x2;
8uniform highp mat2 testFloat2x2;
9uniform mediump mat3 testHalf3x3;
10uniform highp mat4x2 testFloat4x2;
11mediump vec4 main() {
12    mediump mat2 _tempMatrix0;
13    mediump mat2 _tempMatrix1;
14    highp mat2 _tempMatrix2;
15    highp mat2 _tempMatrix3;
16    mediump mat2 _tempMatrix4;
17    mediump mat2 _tempMatrix5;
18    highp mat2 _tempMatrix6;
19    highp mat2 _tempMatrix7;
20    mediump mat3 _tempMatrix8;
21    mediump mat3 _tempMatrix9;
22    highp mat4x2 _tempMatrix10;
23    highp mat4x2 _tempMatrix11;
24    bool _0_ok = true;
25    _0_ok = _0_ok && ((_tempMatrix0 = testHalf2x2), (_tempMatrix1 = mat2(1.0, 2.0, 3.0, 4.0)), (_tempMatrix0 == _tempMatrix1));
26    _0_ok = _0_ok && ((_tempMatrix2 = testFloat2x2), (_tempMatrix3 = mat2(5.0, 6.0, 7.0, 8.0)), (_tempMatrix2 == _tempMatrix3));
27    _0_ok = _0_ok && ((_tempMatrix4 = testHalf2x2), (_tempMatrix5 = mat2(123.0)), (_tempMatrix4 != _tempMatrix5));
28    _0_ok = _0_ok && ((_tempMatrix6 = testFloat2x2), (_tempMatrix7 = mat2(456.0)), (_tempMatrix6 != _tempMatrix7));
29    _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));
30    _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));
31    return _0_ok ? colorGreen : colorRed;
32}
33