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

5 lines
69 B
WebGPU Shading Language

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