Sign in
dawn
/
dawn
/
3d2a692d6381fdf550d01d0665b32e6243f0fd5c
/
.
/
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
();
}