Sign in
dawn
/
dawn
/
6e93ca5f8bfa3ff68c2b580212f5853ccc7985a1
/
.
/
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
];
}