Sign in
dawn
/
dawn
/
ec448b1ca35aa798201feae2bb2e3f37b5380274
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
atomicStore
/
cdc29e.wgsl.expected.ir.fxc.hlsl
blob: ec3b3e911e06f7ba0453619d215fc16b9d981827 [
file
] [
log
] [
blame
]
RWByteAddressBuffer
sb_rw
:
register
(
u0
);
void
atomicStore_cdc29e
()
{
uint
v
=
0u
;
sb_rw
.
InterlockedExchange
(
uint
(
0u
),
1u
,
v
);
}
void
fragment_main
()
{
atomicStore_cdc29e
();
}
[
numthreads
(
1
,
1
,
1
)]
void
compute_main
()
{
atomicStore_cdc29e
();
}