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