• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[[block]]
2struct buf0 {
3  one : f32;
4};
5
6[[group(0), binding(0)]] var<uniform> x_6 : buf0;
7
8var<private> x_GLF_color : vec4<f32>;
9
10fn func_() {
11  let x_28 : f32 = x_6.one;
12  if ((1.0 > x_28)) {
13    discard;
14  }
15  return;
16}
17
18fn main_1() {
19  x_GLF_color = vec4<f32>(0.0, 0.0, 0.0, 0.0);
20  loop {
21    func_();
22    if (false) {
23    } else {
24      break;
25    }
26  }
27  x_GLF_color = vec4<f32>(1.0, 0.0, 0.0, 1.0);
28  return;
29}
30
31struct main_out {
32  [[location(0)]]
33  x_GLF_color_1 : vec4<f32>;
34};
35
36[[stage(fragment)]]
37fn main() -> main_out {
38  main_1();
39  return main_out(x_GLF_color);
40}
41