mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
* Make buffer_unmap check for device validity, add tests. This patch makes buffer_unmap check for a valid device, and corrects buffer_map to return the appropriate error for an invalid device. Tests are added for both operations. It also adds device validity checks to device_maintain_ids and to the functions that get and set buffer sub data. * Update changelog and test comment. * Run rustfmt. * Update test device_lose_then_more to specify more buffer usages to keep Vulkan happy.