dawn-cmake/test/statements/switch/fallthrough.wgsl.expected.wgsl

13 lines
152 B
WebGPU Shading Language

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