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