dawn-cmake/test/tint/bug/tint/1474-a.wgsl.expected.wgsl

13 lines
164 B
WebGPU Shading Language

@compute @workgroup_size(1, 1, 1)
fn main() {
const cond = true;
while(cond) {
if (cond) {
break;
} else {
return;
}
}
let x = 5;
}