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