Expand description
GPU.2 — chunk-resident storage buffers + debug read-back.
Uploads a ChunkUpload as three storage buffers (occupancy,
per-column colour offsets, packed colour array) on a wgpu
device. The GpuChunkResident::read_voxel_blocking helper
dispatches the debug_read.wgsl shader to extract a single
voxel’s colour via map-async readback, validating the round trip
demanded by PORTING-GPU.md §GPU.2.
Structs§
- GpuChunk
Resident - GPU-side storage for one decompressed chunk. Owns its buffers; dropping releases them.