blob: cbe5ed4596f10379be219d6cfd733f1c869502c8 [file] [log] [blame]
@group(0) @binding(0) var<storage, read_write> prevent_dce : i32;
var<workgroup> arg_0 : atomic<i32>;
fn atomicSub_77883a() -> i32 {
var res : i32 = atomicSub(&(arg_0), 1i);
return res;
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = atomicSub_77883a();
}