Sign in
dawn
/
dawn
/
9f513ca541b74f2a3d41b68ee40419b3b509d445
/
.
/
test
/
tint
/
builtins
/
gen
/
var
/
atomicExchange
/
e114ba.wgsl.expected.wgsl
blob: e9b702730c92f870b064bd71321648533e09e625 [
file
] [
log
] [
blame
]
var
<workgroup>
arg_0
:
atomic
<i32>
;
fn atomicExchange_e114ba
()
{
var
arg_1
=
1
;
var
res
:
i32
=
atomicExchange
(&(
arg_0
),
arg_1
);
}
@compute
@workgroup_size
(
1
)
fn compute_main
()
{
atomicExchange_e114ba
();
}