mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-30 02:33:38 +00:00
102d69eb58
832: Return errors from device functions r=kvark a=GabrielMajeri **Connections** Part of #638 **Description** Lots of changes, but they should be easily reviewable commit-by-commit. - Error types for most of the fallible resource creation errors in `device/mod.rs` - Removed assertions and replaced them with error types - All of the `BufferMap`, `BufferNotMapped` etc. errors were united in a single `BufferAccessError`, since it was pretty weird to have so many overlapping error types. - Removed all `unwrap`s of `gfx-hal` errors - they are now returned to the caller. **Testing** Checked with core and tested with `wgpu-rs` (see https://github.com/gfx-rs/wgpu-rs/pull/469) Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |