wgpu/tests
Brad Werth e6097ce3d4
Make buffer_map and buffer_unmap check for device validity, add tests. (#4212)
* 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.
2023-10-07 16:28:07 +02:00
..
src Add details to RequestDeviceError. (#4145) 2023-09-16 00:16:49 -04:00
tests Make buffer_map and buffer_unmap check for device validity, add tests. (#4212) 2023-10-07 16:28:07 +02:00
Cargo.toml Fix Callback Ordering (#4036) 2023-08-14 08:33:50 -04:00