Sign in
dawn
/
dawn
/
d78abb3257ddaf308eafa953d2406a40054f423b
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
atomicStore
/
d1e9a6.wgsl.expected.ir.dxc.hlsl
blob: 0700ad7f8d2810389590df41823235a296bbfb10 [
file
] [
log
] [
blame
]
RWByteAddressBuffer
sb_rw
:
register
(
u0
);
void
atomicStore_d1e9a6
()
{
int
v
=
0
;
sb_rw
.
InterlockedExchange
(
int
(
0u
),
1
,
v
);
}
void
fragment_main
()
{
atomicStore_d1e9a6
();
}
[
numthreads
(
1
,
1
,
1
)]
void
compute_main
()
{
atomicStore_d1e9a6
();
}