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

12 lines
165 B
WebGPU Shading Language

fn main_1() {
var v : vec3<f32> = vec3<f32>(0.0, 0.0, 0.0);
v = vec3<f32>(1.0, 2.0, 3.0);
v.y = 5.0;
return;
}
[[stage(compute)]]
fn main() {
main_1();
}