dawn-cmake/test/expressions/index/let/literal/vector.wgsl.expected.wgsl

5 lines
69 B
WebGPU Shading Language

fn f() -> f32 {
let v = vec3<f32>(1.0, 2.0, 3.0);
return v[1];
}