• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[[block]]
2struct buf0 {
3  one : i32;
4};
5
6[[group(0), binding(0)]] var<uniform> x_7 : buf0;
7
8var<private> x_GLF_color : vec4<f32>;
9
10fn main_1() {
11  var a : i32;
12  var i0 : i32;
13  var i1 : i32;
14  var i2 : i32;
15  var i3 : i32;
16  var i4 : i32;
17  var i5 : i32;
18  var i6 : i32;
19  var i7 : i32;
20  var i8_1 : i32;
21  var i9 : i32;
22  a = 0;
23  i0 = 0;
24  loop {
25    let x_40 : i32 = i0;
26    let x_42 : i32 = x_7.one;
27    if ((x_40 < x_42)) {
28    } else {
29      break;
30    }
31    i1 = 0;
32    loop {
33      let x_49 : i32 = i1;
34      let x_51 : i32 = x_7.one;
35      if ((x_49 < x_51)) {
36      } else {
37        break;
38      }
39      i2 = 0;
40      loop {
41        let x_58 : i32 = i2;
42        let x_60 : i32 = x_7.one;
43        if ((x_58 < x_60)) {
44        } else {
45          break;
46        }
47        i3 = 0;
48        loop {
49          let x_67 : i32 = i3;
50          let x_69 : i32 = x_7.one;
51          if ((x_67 < (x_69 + 2))) {
52          } else {
53            break;
54          }
55          i4 = 0;
56          loop {
57            let x_77 : i32 = i4;
58            let x_79 : i32 = x_7.one;
59            if ((x_77 < x_79)) {
60            } else {
61              break;
62            }
63            i5 = 0;
64            loop {
65              let x_86 : i32 = i5;
66              let x_88 : i32 = x_7.one;
67              if ((x_86 < x_88)) {
68              } else {
69                break;
70              }
71              loop {
72                let x_96 : i32 = x_7.one;
73                if ((x_96 > 0)) {
74                } else {
75                  break;
76                }
77                i6 = 0;
78                loop {
79                  let x_103 : i32 = i6;
80                  let x_105 : i32 = x_7.one;
81                  if ((x_103 < x_105)) {
82                  } else {
83                    break;
84                  }
85                  i7 = 0;
86                  loop {
87                    let x_112 : i32 = i7;
88                    let x_114 : i32 = x_7.one;
89                    if ((x_112 < x_114)) {
90                    } else {
91                      break;
92                    }
93                    i8_1 = 0;
94                    loop {
95                      let x_121 : i32 = i8_1;
96                      let x_123 : i32 = x_7.one;
97                      if ((x_121 < x_123)) {
98                      } else {
99                        break;
100                      }
101                      i9 = 0;
102                      loop {
103                        let x_130 : i32 = i9;
104                        let x_132 : i32 = x_7.one;
105                        if ((x_130 < x_132)) {
106                        } else {
107                          break;
108                        }
109                        let x_135 : i32 = a;
110                        a = (x_135 + 1);
111
112                        continuing {
113                          let x_137 : i32 = i9;
114                          i9 = (x_137 + 1);
115                        }
116                      }
117
118                      continuing {
119                        let x_139 : i32 = i8_1;
120                        i8_1 = (x_139 + 1);
121                      }
122                    }
123
124                    continuing {
125                      let x_141 : i32 = i7;
126                      i7 = (x_141 + 1);
127                    }
128                  }
129
130                  continuing {
131                    let x_143 : i32 = i6;
132                    i6 = (x_143 + 1);
133                  }
134                }
135                break;
136              }
137
138              continuing {
139                let x_145 : i32 = i5;
140                i5 = (x_145 + 1);
141              }
142            }
143
144            continuing {
145              let x_147 : i32 = i4;
146              i4 = (x_147 + 1);
147            }
148          }
149
150          continuing {
151            let x_149 : i32 = i3;
152            i3 = (x_149 + 1);
153          }
154        }
155
156        continuing {
157          let x_151 : i32 = i2;
158          i2 = (x_151 + 1);
159        }
160      }
161
162      continuing {
163        let x_153 : i32 = i1;
164        i1 = (x_153 + 1);
165      }
166    }
167
168    continuing {
169      let x_155 : i32 = i0;
170      i0 = (x_155 + 1);
171    }
172  }
173  let x_157 : i32 = a;
174  if ((x_157 == 3)) {
175    x_GLF_color = vec4<f32>(1.0, 0.0, 0.0, 1.0);
176  } else {
177    x_GLF_color = vec4<f32>(0.0, 0.0, 0.0, 0.0);
178  }
179  return;
180}
181
182struct main_out {
183  [[location(0)]]
184  x_GLF_color_1 : vec4<f32>;
185};
186
187[[stage(fragment)]]
188fn main() -> main_out {
189  main_1();
190  return main_out(x_GLF_color);
191}
192