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

13 lines
145 B
WebGPU Shading Language

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