mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
966: Immediate resource destruction and freeing r=cwfitzgerald a=kvark **Connections** Fixes #964 **Description** We are making it so a buffer or a texture can have their native resources freed while they are still referenced, so without waiting for GC. In addition, the PR adds a few missing cases where error IDs should have been handled, like at render pass encoding. **Testing** Tested on wgpu-rs examples, see https://github.com/gfx-rs/wgpu-rs/pull/591 Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>