{%- include "structs.wgsl" -%} @group(0) @binding(0) var input_0: ArrayVector; struct OutputArrayVector { data: array> }; @group(0) @binding(1) var output_0: OutputArrayVector; @compute @workgroup_size({{ workgroup_size_x }}) fn main(@builtin(global_invocation_id) global_id: vec3) { let gidx = global_id.x; output_0.data[gidx] = vec4<{{ cast_to_type }}>(input_0.data[gidx]); }