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