• 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;
12vec4 main() {
13    int i;
14    i = 0;
15    ivec4 i4;
16    i4 = ivec4(1, 2, 3, 4);
17    mat3 f3x3;
18    f3x3 = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
19    vec4 x;
20    x.w = 0.0;
21    x.yx = vec2(0.0);
22    int ai[1];
23    ai[0] = 0;
24    ivec4 ai4[1];
25    ai4[0] = ivec4(1, 2, 3, 4);
26    mat3 ah2x4[1];
27    ah2x4[0] = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
28    vec4 af4[1];
29    af4[0].x = 0.0;
30    af4[0].ywxz = vec4(1.0);
31    S s;
32    s.f = 0.0;
33    s.af[1] = 0.0;
34    s.h4.zxy = vec3(9.0);
35    s.ah4[2].yw = vec2(5.0);
36    globalVar = vec4(0.0);
37    globalStruct.f = 0.0;
38    float l;
39    l = 0.0;
40    ai[0] += ai4[0].x;
41    s.f = 1.0;
42    s.af[0] = 2.0;
43    s.h4 = vec4(1.0);
44    s.ah4[0] = vec4(2.0);
45    af4[0] *= ah2x4[0][0].x;
46    i4.y *= i;
47    x.y *= l;
48    s.f *= l;
49    return colorGreen;
50}
51