Sign in
dawn
/
tint
/
6d770093bdf1513ab57bd56c2e00c9b572d16304
/
.
/
test
/
expressions
/
index
/
var
/
let
/
param
/
array.wgsl.expected.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
];
}