dawn-cmake/test/switch/fallthrough.wgsl

13 lines
189 B
WebGPU Shading Language

[[stage(compute), workgroup_size(1)]]
fn f() {
var i : i32;
switch(i) {
case 0: {
fallthrough;
}
default: {
break;
}
}
}