mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 00:33:51 +00:00
e6097ce3d4
* 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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |