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

14 lines
242 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn f() {
for (var i : i32 = 0; i < 4; i = i + 1) {
switch(i) {
case 0: {
continue;
}
default:{
break;
}
}
}
}