Sign in
dawn
/
tint
/
b79f51ece3d42e96ea4952b9b1469b8d0563f337
/
.
/
test
/
builtins
/
gen
/
atomicExchange
/
0a5dca.wgsl.expected.wgsl
blob: a7acabddb60b719392a55c433b052ee2622245a5 [
file
] [
log
] [
blame
]
var
<workgroup>
arg_0
:
atomic
<u32>
;
fn atomicExchange_0a5dca
()
{
var
res
:
u32
=
atomicExchange
(&(
arg_0
),
1u
);
}
@stage
(
compute
)
@workgroup_size
(
1
)
fn compute_main
()
{
atomicExchange_0a5dca
();
}