Sign in
dawn
/
dawn
/
1fd3d95dd567accdfa7cf0e0ca9cb4569d675598
/
.
/
test
/
intrinsics
/
gen
/
atomicExchange
/
0a5dca.wgsl.expected.wgsl
blob: aba05aafdc04ecbae8e27d88240b74496368ef81 [
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
();
}