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