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

12 lines
190 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), workgroup_size(1, 1, 1)]]
fn main() {
main_1();
}