mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 07:51:08 +01:00
845: Finish error model refactor r=kvark a=GabrielMajeri **Connections** I think this is the last part of #638. I've reviewed all the remaining `unwrap`s and `assert`s in the code, and these should be the last ones left which ought to return errors (the remaining ones seem to uphold internal invariants). **Description** Implements error handling for various conditions, which are then returned to the caller. Including, but not limited to: - running out of memory when creating a command pool - running out of memory when creating a frame buffer for a render pass - invalid dimensions when creating a texture **Testing** Tested with core and player. Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com>