mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 15:00:57 +01:00
* chore: validate offset + size in get_mapped_range This commit introduces out of bounds & offset validation for buffer_get_mapped_range, like described in the WebGPU spec. See https://gpuweb.github.io/gpuweb/#dom-gpubuffer-getmappedrange. Closes #818 * review comments * fmt * fix test * fix tests * update error message * review comment * use wgt::BufferAddress * clippy