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

15 lines
312 B
WebGPU Shading Language
Raw Normal View History

fn main_1() {
var v : vec3<f32> = vec3<f32>(0.0, 0.0, 0.0);
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)]]
fn main() {
main_1();
}