Sign in
dawn
/
dawn
/
ab9757036bd6b2fe86c4e937db0524463ba0c0f8
/
.
/
test
/
tint
/
builtins
/
arrayLength
/
simple.wgsl
blob: 74ff5cc59745a6c37f15028900fbc0b5644758f1 [
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
l1
:
u32
=
arrayLength
(&
G
.
a
);
}