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];
}