Sign in
dawn
/
dawn
/
0b39270e01ce2327dd8c01d8d7192e823cec4424
/
.
/
test
/
intrinsics
/
arrayLength
/
via_let_no_struct.wgsl
blob: 203f0e066693105ead456c63ac2839cb10658b45 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read
>
G
:
array
<i32>
;
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
let
p
=
&
G
;
let
p2
=
p
;
let
l1
:
u32
=
arrayLength
(
p2
);
}