This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
613: Add more context to errors originating in Passes and Encoders r=kvark a=Kimundi **Description** This adds some top-level error context information to indicate wether an error originated in a `{Render,Compute}Pass` or `{Command,RenderBundle}Encoder` to make error messages more clear. Combined with gfx-rs/wgpu#1018, errors in passes will look like this: ``` wgpu error: Validation error Caused by: In a RenderPass In a draw command index 3600 extends beyond limit 38 ``` Co-authored-by: Marvin Löbel <[email protected]>
- Loading branch information