• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 400
2precision mediump float;
3precision mediump sampler2D;
4out mediump vec4 sk_FragColor;
5uniform mediump vec4 colorGreen;
6uniform mediump vec4 colorRed;
7mediump vec4 main() {
8    highp float f[4] = float[4](1.0, 2.0, 3.0, 4.0);
9    mediump float h[4] = f;
10    f = h;
11    h = f;
12    highp ivec3 i3[3] = ivec3[3](ivec3(1), ivec3(2), ivec3(3));
13    mediump ivec3 s3[3] = i3;
14    i3 = s3;
15    s3 = i3;
16    mediump mat2 h2x2[2] = mat2[2](mat2(1.0, 2.0, 3.0, 4.0), mat2(5.0, 6.0, 7.0, 8.0));
17    highp mat2 f2x2[2] = h2x2;
18    f2x2 = h2x2;
19    h2x2 = f2x2;
20    return (f == h && i3 == s3) && f2x2 == h2x2 ? colorGreen : colorRed;
21}
22