mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
562: More errorsinkifying r=kvark a=scoopr Continuing on with errorsinkifying more places, these wrap Buffer, Texture and CommandEncoder with a struct that includes the `error_sink`, and uses it for the error handling. I think most of the apis are errorsinkified with this. The remaining ones may need some more thinking. Queue would be wrapped mostly for the submit, the write_ stuff could in theory piggyback on the texture/buffer error-sink. Others like swapchain, some mapping stuff, etc. needs some discussion or other implementation work. Co-authored-by: Mikko Lehtonen <scoopr@iki.fi>