• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 colorGreen;
4struct S {
5    float f;
6    float af[5];
7    vec4 h4;
8    vec4 ah4[5];
9};
10vec4 globalVar;
11S globalStruct;
12void keepAlive_vh(inout float h) {
13}
14void keepAlive_vf(inout float f) {
15}
16void keepAlive_vi(inout int i) {
17}
18vec4 main() {
19    int i;
20    i = 0;
21    ivec4 i4;
22    i4 = ivec4(1, 2, 3, 4);
23    mat3 f3x3;
24    f3x3 = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
25    vec4 x;
26    x.w = 0.0;
27    x.yx = vec2(0.0);
28    int ai[1];
29    ai[0] = 0;
30    ivec4 ai4[1];
31    ai4[0] = ivec4(1, 2, 3, 4);
32    mat3 ah3x3[1];
33    ah3x3[0] = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
34    vec4 af4[1];
35    af4[0].x = 0.0;
36    af4[0].ywxz = vec4(1.0);
37    S s;
38    s.f = 0.0;
39    s.af[1] = 0.0;
40    s.h4.zxy = vec3(9.0);
41    s.ah4[2].yw = vec2(5.0);
42    globalVar = vec4(0.0);
43    globalStruct.f = 0.0;
44    float l;
45    l = 0.0;
46    ai[0] += ai4[0].x;
47    s.f = 1.0;
48    s.af[0] = 2.0;
49    s.h4 = vec4(1.0);
50    s.ah4[0] = vec4(2.0);
51    keepAlive_vf(af4[0].x);
52    keepAlive_vh(ah3x3[0][0].x);
53    keepAlive_vi(i);
54    keepAlive_vi(i4.y);
55    keepAlive_vi(ai[0]);
56    keepAlive_vi(ai4[0].x);
57    keepAlive_vh(x.y);
58    keepAlive_vf(s.f);
59    keepAlive_vh(l);
60    keepAlive_vf(f3x3[0].x);
61    return colorGreen;
62}
63