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