pub fn downsample_voxel_centroid_aoso_chunks(
runtime: &WgpuRuntime,
chunks: &[GpuAoSoXyzChunk],
origin: [f32; 3],
inv_leaf: f32,
) -> SpatialResult<AoSoAVoxelCentroidResult>Expand description
Runs global voxel centroid downsampling from uploaded AoSoA chunks.
Chunk buffers are concatenated with GPU-to-GPU copies. Key generation, sorting, segmentation, and centroid reduction then operate on that combined GPU buffer, so voxels spanning chunk boundaries are merged correctly. Only the final centroids are read back.