Sign in
dawn
/
tint
/
refs/heads/chromium/4887
/
.
/
test
/
builtins
/
arrayLength
/
simple.wgsl
blob: 95037fe70dde75c96b251a8224252c8c7ebfb7ff [
file
] [
log
] [
blame
] [
edit
]
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
);
}