Sign in
dawn
/
dawn
/
f3e7db0c4ed2fe144a7f682e029f48e1c9ccf3ca
/
.
/
test
/
tint
/
bug
/
tint
/
1963_b.wgsl.expected.wgsl
blob: 4955fd0bebc156fe5e7aee22fa000a1d9a61acc9 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
a
:
atomic
<i32>
;
@compute
@workgroup_size
(
1
)
fn compute_main
()
{
let
v
=
atomicCompareExchangeWeak
(&(
a
),
1
,
1
).
old_value
;
}