1SKIP: FAILED
2
3cbuffer cbuffer_x_7 : register(b0, space0) {
4  uint4 x_7[1];
5};
6static float gv = 0.0f;
7static float4 gl_FragCoord = float4(0.0f, 0.0f, 0.0f, 0.0f);
8static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
9
10void main_1() {
11  float lv = 0.0f;
12  float x_43 = 0.0f;
13  int GLF_live5r = 0;
14  int GLF_live5_looplimiter6 = 0;
15  const float x_45 = asfloat(x_7[0].y);
16  if ((1.0f > x_45)) {
17    x_43 = abs(gv);
18  } else {
19    x_43 = 260.0f;
20  }
21  lv = x_43;
22  if ((int(lv) < 250)) {
23    if ((int(lv) < 180)) {
24      const float x_65 = clamp(lv, 1.0f, 1.0f);
25    } else {
26      const float x_67 = gl_FragCoord.y;
27      if ((x_67 < 0.0f)) {
28        if ((int(lv) < 210)) {
29          [loop] while (true) {
30            {
31              if (true) {
32              } else {
33                break;
34              }
35            }
36          }
37        }
38        GLF_live5r = 0;
39        [loop] while (true) {
40          if (true) {
41          } else {
42            break;
43          }
44          if ((GLF_live5_looplimiter6 >= 6)) {
45            break;
46          }
47          GLF_live5_looplimiter6 = (GLF_live5_looplimiter6 + 1);
48        }
49      }
50    }
51  }
52  x_GLF_color = float4(1.0f, 0.0f, 0.0f, 1.0f);
53  return;
54}
55
56struct main_out {
57  float4 x_GLF_color_1;
58};
59struct tint_symbol_1 {
60  float4 gl_FragCoord_param : SV_Position;
61};
62struct tint_symbol_2 {
63  float4 x_GLF_color_1 : SV_Target0;
64};
65
66main_out main_inner(float4 gl_FragCoord_param) {
67  gl_FragCoord = gl_FragCoord_param;
68  main_1();
69  const main_out tint_symbol_4 = {x_GLF_color};
70  return tint_symbol_4;
71}
72
73tint_symbol_2 main(tint_symbol_1 tint_symbol) {
74  const main_out inner_result = main_inner(tint_symbol.gl_FragCoord_param);
75  tint_symbol_2 wrapper_result = (tint_symbol_2)0;
76  wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
77  return wrapper_result;
78}
79C:\src\tint\test\Shader@0x000001DCBE0206C0(27,18-29): warning X3557: loop doesn't seem to do anything, consider removing [loop]
80C:\src\tint\test\Shader@0x000001DCBE0206C0(27,18-29): warning X3551: infinite loop detected - loop writes no values
81C:\src\tint\test\Shader@0x000001DCBE0206C0(27,25-28): error X3696: infinite loop detected - loop never exits
82
83