mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
3c0634fdecc8a655bf2de72750655fab0fe31946
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>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%