dan sinclair | 6931379 | 2024-06-13 20:35:21 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
2 | |||||
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 3 | |
4 | [numthreads(1, 1, 1)] | ||||
5 | void main() { | ||||
6 | { | ||||
7 | int i = 0; | ||||
8 | while(true) { | ||||
9 | if ((i < 2)) { | ||||
10 | } else { | ||||
11 | break; | ||||
12 | } | ||||
13 | switch(i) { | ||||
14 | case 0: | ||||
15 | { | ||||
16 | { | ||||
17 | i = (i + 1); | ||||
18 | } | ||||
19 | continue; | ||||
20 | } | ||||
21 | case 1: | ||||
22 | { | ||||
23 | { | ||||
24 | i = (i + 1); | ||||
25 | } | ||||
26 | continue; | ||||
27 | } | ||||
28 | case 2: | ||||
29 | { | ||||
30 | { | ||||
31 | i = (i + 1); | ||||
32 | } | ||||
33 | continue; | ||||
34 | } | ||||
35 | default: | ||||
36 | { | ||||
37 | break; | ||||
38 | } | ||||
39 | } | ||||
40 | { | ||||
41 | i = (i + 1); | ||||
42 | } | ||||
43 | continue; | ||||
44 | } | ||||
45 | } | ||||
46 | } | ||||
47 | |||||
48 | FXC validation failure: | ||||
49 | c:\src\dawn\Shader@0x000002D89A881430(17,11-19): error X3708: continue cannot be used in a switch | ||||
50 |