Sign in
dawn
/
dawn
/
e7099d4f3bb22e23e975099fb1d1314f76cd6227
/
.
/
test
/
tint
/
builtins
/
arrayLength
/
complex_via_let.wgsl
blob: 29c07c9021cb98509cdffc9c7356d4998e72d571 [
file
] [
log
] [
blame
]
struct
S
{
a
:
array
<i32>
,
};
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read
>
G
:
S
;
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
let
p
=
&
G
;
let
p2
=
&((*
p
).
a
);
let
l1
:
u32
=
arrayLength
(
p2
);
}