Sign in
dawn
/
dawn
/
e2f35ba8e0a4f8f234660c980a1917f5504482a3
/
.
/
test
/
expressions
/
index
/
var
/
let
/
param
/
vector.wgsl
blob: f3e969b45719981ff879f1b22b9fa3e22babae67 [
file
] [
log
] [
blame
]
fn f
(
x
:
i32
)
->
f32
{
var
v
=
vec3
<f32>
(
1.0
,
2.0
,
3.0
);
let
i
=
x
;
return
v
[
i
];
}