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

15 lines
321 B
WebGPU Shading Language

fn main_1() {
var v : vec3<f32> = vec3<f32>();
let x_14 : f32 = v.y;
let x_16 : vec3<f32> = v;
let x_17 : vec2<f32> = vec2<f32>(x_16.x, x_16.z);
let x_18 : vec3<f32> = v;
let x_19 : vec3<f32> = vec3<f32>(x_18.x, x_18.z, x_18.y);
return;
}
@stage(compute) @workgroup_size(1, 1, 1)
fn main() {
main_1();
}