blob: 00329722fd99ab13eda155c932795e4d06c5f65c [file] [log] [blame]
SKIP: FAILED
[numthreads(1, 1, 1)]
void main() {
{
int i = 0;
while(true) {
if ((i < 2)) {
} else {
break;
}
switch(i) {
case 0:
{
{
int j = 0;
while(true) {
if ((j < 2)) {
} else {
break;
}
switch(j) {
case 0:
{
{
j = (j + 2);
}
continue;
}
default:
{
break;
}
}
{
j = (j + 2);
}
continue;
}
}
{
i = (i + 2);
}
continue;
}
default:
{
break;
}
}
{
i = (i + 2);
}
continue;
}
}
}
FXC validation failure:
c:\src\dawn\Shader@0x0000022595993FB0(27,19-27): error X3708: continue cannot be used in a switch