Sign in
dawn
/
dawn
/
18909c6e1f419225d4b8585a07b2f2e8f54f6412
/
.
/
test
/
tint
/
builtins
/
arrayLength
/
simple.wgsl.expected.wgsl
blob: 66410750013e7b7b73dc6c36ac39f7de7f72f3be [
file
] [
log
] [
blame
]
struct
S
{
a
:
array
<i32>
,
}
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read
>
G
:
S
;
@compute
@workgroup_size
(
1
)
fn main
()
{
let
l1
:
u32
=
arrayLength
(&(
G
.
a
));
}