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

15 lines
317 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;
}
@compute @workgroup_size(1i, 1i, 1i)
fn main() {
main_1();
}