UNPKG

1.54 kBPlain TextView Raw
1
2precision highp int;
3precision highp float;
4precision highp vec2;
5precision highp vec3;
6precision highp vec4;
7#line 0
8
9#define X(a) Y \
10 asdf \
11 barry
12
13struct xxx {
14 int y;
15 float b;
16} a = 2, b;
17
18struct {
19 xxx z;
20} www;
21struct gary {
22 vec4 busey;
23};
24varying vec2 vTexcoord;
25varying vec3 vPosition;
26uniform mat4 proj, view;
27 
28    attribute vec3 position;
29    attribute vec2 texcoord;
30
31int forwarddecl(vec2 c);
32
33int forwarddecl(vec2 c) {
34
35}
36
37int empty() {
38
39}
40 
41int two(int a, int b) {
42
43}
44
45int one(int a[2]) {
46 do x; while(1);
47}
48
49int emptyname(vec2[4]);
50int emptynameemptyname(vec2, vec2);
51
52
53int first, second, third, fourth, fifth, sixth, seventh, eigth;
54
55    void main(){
56        vTexcoord = texcoord;
57        vPosition = position;
58 vec3 thing = vec2(1., 2.);
59 int v_thing, garybusey;
60 thing.rgba = 2e10 + .2e2 + 1.e3 * 0xFaBc09 + (3 * v_thing);
61
62 for(xxx i = 0; i < 10; ++i) {
63 discard;
64 }
65 while(1) {
66 v_thing = 23;
67 }
68        gl_Position = proj * view * // nope
69 vec4(position, 1.0);
70
71 if(first < y) { z; }
72 if(second < y) z;
73 if(third == y) z; else if(z == w) y;
74 if(fourth == y) z; else if(z == w) { y; };
75 if(fifth == y) z; else if(z == w) { y; } else a;
76 if(sixth == y) z; else z;
77 if(seventh == y) z; else {z; }
78 if(eigth == y) { z; } else { z; }
79
80
81 for(;;) garybusey;
82 return x;
83 return;
84 break;
85 continue;
86    }
87