Sign in
dawn
/
dawn
/
570a0faf26679a867e80abf98fd947f53b6f0bc5
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
let
/
param
/
array.wgsl
blob: ace4c30d44ddbf73a88fe43ec7ff230b5d63dcc7 [
file
] [
log
] [
blame
]
fn f
(
x
:
i32
)
->
i32
{
var
a
=
array
<
i32
,
8
>(
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
);
let
i
=
x
;
return
a
[
i
];
}