• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*#pragma settings NoES2Restrictions*/
2
3uniform half4 colorGreen, colorRed;
4
5half4 main(float2 coords) {
6    highp   int   i2[2] = int   [2](1, 2);
7    mediump int   s2[2] = int   [2](1, 2);
8    highp   float f2[2] = float [2](1, 2);
9    mediump float h2[2] = float [2](1, 2);
10
11    i2 = s2;
12    s2 = i2;
13    f2 = h2;
14    h2 = f2;
15
16    const highp   int   ci2[2] = int   [2](1, 2);
17    const mediump int   cs2[2] = int   [2](1, 2);
18    const highp   float cf2[2] = float [2](1, 2);
19    const mediump float ch2[2] = float [2](1, 2);
20
21    return (i2 == s2 && f2 == h2 && ci2 == cs2 && cf2 == ch2 && i2 == cs2 && h2 == cf2)
22                ? colorGreen
23                : colorRed;
24}
25