dawn-cmake/test/access/var/vector.wgsl.expected.wgsl

8 lines
167 B
WebGPU Shading Language

@stage(compute) @workgroup_size(1)
fn main() {
var v : vec3<f32>;
let scalar : f32 = v.y;
let swizzle2 : vec2<f32> = v.xz;
let swizzle3 : vec3<f32> = v.xzy;
}