Sign in
dawn
/
dawn
/
58e2fb1253b7b644b5da16ece3a276e89be6e622
/
.
/
test
/
intrinsics
/
arrayLength
/
simple.wgsl.expected.wgsl
blob: 5859b6204eb045e054a21ffd4cbb4f23deb837fa [
file
] [
log
] [
blame
]
[[
block
]]
struct
S
{
a
:
array
<i32>
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<
storage
,
read
>
G
:
S
;
[[
stage
(
compute
)]]
fn main
()
{
let
l1
:
u32
=
arrayLength
(&(
G
.
a
));
}