dawn-cmake/test/loops/continue_in_switch.wgsl.exp...

24 lines
323 B
Plaintext
Raw Normal View History

#version 310 es
void f() {
{
for(int i = 0; (i < 4); i = (i + 1)) {
switch(i) {
case 0: {
continue;
break;
}
default: {
break;
}
}
}
}
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
f();
return;
}