1SKIP: FAILED
2
3cbuffer cbuffer_x_6 : register(b0, space0) {
4  uint4 x_6[1];
5};
6static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
7
8void main_1() {
9  int i = 0;
10  const float x_51 = asfloat(x_6[0].x);
11  i = int(x_51);
12  switch(i) {
13    case 0: {
14      [loop] while (true) {
15        i = (i + 1);
16        switch(i) {
17          case 2: {
18            i = (i + 5);
19            break;
20          }
21          case 1: {
22            {
23              if ((i > 200)) {
24              } else {
25                break;
26              }
27            }
28            continue;
29            break;
30          }
31          default: {
32            i = (i + 7);
33            break;
34          }
35        }
36        {
37          if ((i > 200)) {
38          } else {
39            break;
40          }
41        }
42      }
43      if ((i > 100)) {
44        i = (i - 2);
45        break;
46      }
47      /* fallthrough */
48      {
49        i = (i - 3);
50      }
51      break;
52    }
53    default: {
54      i = (i - 3);
55      break;
56    }
57  }
58  if ((i == -2)) {
59    x_GLF_color = float4(1.0f, 0.0f, 0.0f, 1.0f);
60  } else {
61    x_GLF_color = float4(0.0f, 0.0f, 0.0f, 1.0f);
62  }
63  return;
64}
65
66struct main_out {
67  float4 x_GLF_color_1;
68};
69struct tint_symbol {
70  float4 x_GLF_color_1 : SV_Target0;
71};
72
73main_out main_inner() {
74  main_1();
75  const main_out tint_symbol_2 = {x_GLF_color};
76  return tint_symbol_2;
77}
78
79tint_symbol main() {
80  const main_out inner_result = main_inner();
81  tint_symbol wrapper_result = (tint_symbol)0;
82  wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
83  return wrapper_result;
84}
85C:\src\tint\test\Shader@0x0000019C85DE9DB0(26,13-21): error X3708: continue cannot be used in a switch
86
87