struct Vector { data: [[stride(4)]] array; }; [[group(0), binding(0)]] var a: Vector; [[group(0), binding(1)]] var b: Vector; [[group(0), binding(2)]] var c: Vector; [[stage(compute), workgroup_size(32)]] fn main([[builtin(global_invocation_id)]] global_id: vec3) { let idx = global_id.x; c.data[idx] = a.data[idx] * b.data[idx]; }