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