blob: 15431673e7836819de185b3587c52ea04c97093c [file] [log] [blame]
@group(0) @binding(0) var<storage, read_write> buffer : i32;
@compute @workgroup_size(1)
fn main() {
var i : i32 = buffer;
loop {
continuing {
loop {
if ((i > 5)) {
i = (i * 2);
break;
} else {
i = (i * 2);
break;
}
}
break if (i > 10);
}
}
buffer = i;
}