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