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