Sign in
dawn
/
tint
/
38f1e9c75c5c9f73b02bb82ec1e2e9611a554f9a
/
.
/
test
/
builtins
/
gen
/
atomicSub
/
77883a.wgsl.expected.wgsl
blob: 4a49222bc9867278b88ada02761177fecce6fc60 [
file
] [
log
] [
blame
]
var
<workgroup>
arg_0
:
atomic
<i32>
;
fn atomicSub_77883a
()
{
var
res
:
i32
=
atomicSub
(&(
arg_0
),
1
);
}
@stage
(
compute
)
@workgroup_size
(
1
)
fn compute_main
()
{
atomicSub_77883a
();
}