Sign in
dawn
/
dawn
/
f4075a71951816c93ca5e992cb57534ded4e14b0
/
.
/
test
/
intrinsics
/
gen
/
atomicExchange
/
e114ba.wgsl.expected.wgsl
blob: 0384fca4b0979aaf7bac35734fd0283852186804 [
file
] [
log
] [
blame
]
var
<workgroup>
arg_0
:
atomic
<i32>
;
fn atomicExchange_e114ba
()
{
var
res
:
i32
=
atomicExchange
(&(
arg_0
),
1
);
}
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn compute_main
()
{
atomicExchange_e114ba
();
}