| 1 |
#version 310 es |
| 2 |
precision mediump float; |
| 3 |
precision highp int; |
| 4 |
|
| 5 |
layout(constant_id = 1) const float a = 1.0; |
| 6 |
layout(constant_id = 2) const float b = 2.0; |
| 7 |
layout(constant_id = 3) const int c = 3; |
| 8 |
const uint _18 = (uint(c) + 0u); |
| 9 |
const int _21 = (-c); |
| 10 |
const int _23 = (~c); |
| 11 |
layout(constant_id = 4) const int d = 4; |
| 12 |
const int _26 = (c + d); |
| 13 |
const int _28 = (c - d); |
| 14 |
const int _30 = (c * d); |
| 15 |
const int _32 = (c / d); |
| 16 |
layout(constant_id = 5) const uint e = 5u; |
| 17 |
layout(constant_id = 6) const uint f = 6u; |
| 18 |
const uint _36 = (e / f); |
| 19 |
const int _38 = (c % d); |
| 20 |
const uint _40 = (e % f); |
| 21 |
const int _42 = (c >> d); |
| 22 |
const uint _44 = (e >> f); |
| 23 |
const int _46 = (c << d); |
| 24 |
const int _48 = (c | d); |
| 25 |
const int _50 = (c ^ d); |
| 26 |
const int _52 = (c & d); |
| 27 |
layout(constant_id = 7) const bool g = false; |
| 28 |
layout(constant_id = 8) const bool h = true; |
| 29 |
const bool _58 = (g || h); |
| 30 |
const bool _60 = (g && h); |
| 31 |
const bool _62 = (!g); |
| 32 |
const bool _64 = (g == h); |
| 33 |
const bool _66 = (g != h); |
| 34 |
const bool _68 = (c == d); |
| 35 |
const bool _70 = (c != d); |
| 36 |
const bool _72 = (c < d); |
| 37 |
const bool _74 = (e < f); |
| 38 |
const bool _76 = (c > d); |
| 39 |
const bool _78 = (e > f); |
| 40 |
const bool _80 = (c <= d); |
| 41 |
const bool _82 = (e <= f); |
| 42 |
const bool _84 = (c >= d); |
| 43 |
const bool _86 = (e >= f); |
| 44 |
const int _92 = int(e + 0u); |
| 45 |
const bool _94 = (c != int(0u)); |
| 46 |
const bool _96 = (e != 0u); |
| 47 |
const int _100 = int(g); |
| 48 |
const uint _103 = uint(g); |
| 49 |
const int _118 = (c + 3); |
| 50 |
const int _127 = (c + 2); |
| 51 |
const int _135 = (d + 2); |
| 52 |
|
| 53 |
struct Foo |
| 54 |
{ |
| 55 |
float elems[_135]; |
| 56 |
}; |
| 57 |
|
| 58 |
layout(location = 0) out vec4 FragColor; |
| 59 |
|
| 60 |
void main() |
| 61 |
{ |
| 62 |
float t0 = a; |
| 63 |
float t1 = b; |
| 64 |
mediump uint c0 = _18; |
| 65 |
mediump int c1 = _21; |
| 66 |
mediump int c2 = _23; |
| 67 |
mediump int c3 = _26; |
| 68 |
mediump int c4 = _28; |
| 69 |
mediump int c5 = _30; |
| 70 |
mediump int c6 = _32; |
| 71 |
mediump uint c7 = _36; |
| 72 |
mediump int c8 = _38; |
| 73 |
mediump uint c9 = _40; |
| 74 |
mediump int c10 = _42; |
| 75 |
mediump uint c11 = _44; |
| 76 |
mediump int c12 = _46; |
| 77 |
mediump int c13 = _48; |
| 78 |
mediump int c14 = _50; |
| 79 |
mediump int c15 = _52; |
| 80 |
bool c16 = _58; |
| 81 |
bool c17 = _60; |
| 82 |
bool c18 = _62; |
| 83 |
bool c19 = _64; |
| 84 |
bool c20 = _66; |
| 85 |
bool c21 = _68; |
| 86 |
bool c22 = _70; |
| 87 |
bool c23 = _72; |
| 88 |
bool c24 = _74; |
| 89 |
bool c25 = _76; |
| 90 |
bool c26 = _78; |
| 91 |
bool c27 = _80; |
| 92 |
bool c28 = _82; |
| 93 |
bool c29 = _84; |
| 94 |
bool c30 = _86; |
| 95 |
mediump int c31 = c8 + c3; |
| 96 |
mediump int c32 = _92; |
| 97 |
bool c33 = _94; |
| 98 |
bool c34 = _96; |
| 99 |
mediump int c35 = _100; |
| 100 |
mediump uint c36 = _103; |
| 101 |
float c37 = float(g); |
| 102 |
float vec0[_118][8]; |
| 103 |
float vec1[_127]; |
| 104 |
Foo foo; |
| 105 |
FragColor = ((vec4(t0 + t1) + vec4(vec0[0][0])) + vec4(vec1[0])) + vec4(foo.elems[c]); |
| 106 |
} |
| 107 |
|