blob: b352c8fde89f1ffc0f595d3baf98a6eb7bbcbfa2 [file] [log] [blame] [edit]
statements/switch/fallthrough.wgsl:6:13 warning: use of deprecated language feature: fallthrough is set to be removed from WGSL. Case can accept multiple selectors if the existing case bodies are empty. default is not yet supported in a case selector list.
fallthrough;
^^^^^^^^^^^
@compute @workgroup_size(1)
fn f() {
var i : i32;
switch(i) {
case 0: {
fallthrough;
}
default: {
break;
}
}
}