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