Sign in
dawn
/
dawn
/
5eeef7c47fd263b5aa13d6e1245dd16d4fc8b98d
/
.
/
test
/
tint
/
builtins
/
arrayLength
/
via_let.wgsl.expected.wgsl
blob: 7a7ffbd510cf86cee722063dc2ffac68eb6f0fcf [
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
.
a
);
let
p2
=
p
;
let
l1
:
u32
=
arrayLength
(
p2
);
}