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