Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
builtins
/
atomicStore
/
array
/
aliased_arrays.wgsl
blob: 5ae0fcbefb0c6275131a298e72c43731c941efee [
file
] [
log
] [
blame
]
alias
A0
=
atomic
<u32>
;
alias
A1
=
array
<
A0
,
1
>;
alias
A2
=
array
<
A1
,
2
>;
alias
A3
=
array
<
A2
,
3
>;
var
<workgroup>
wg
:
A3
;
@compute
@workgroup_size
(
1
)
fn compute_main
()
{
atomicStore
(&
wg
[
2
][
1
][
0
],
1u
);
}