Sign in
dawn
/
tint.git
/
efb741fe13dd0f2d29ca80dad12fc2d9ca52b366
/
.
/
test
/
intrinsics
/
arrayLength.wgsl
blob: 6ee682871d4d646b7e1e23a408906473e50e30ce [
file
]
[[
block
]]
struct
S
{
a
:
array
<i32>
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<storage>
G
:
[[
access
(
read
)]]
S
;
[[
stage
(
compute
)]]
fn main
()
{
// TODO(crbug.com/tint/806): arrayLength signature is currently wrong
// let l : i32 = arrayLength(&G.a);
}