mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
1403: Trace render passes before they are ran r=cwfitzgerald a=kvark **Connections** Follow-up to #1245 **Description** We want the API traces to reproduce issues. Previously, we moved all the resource creation to happen after the trace is written. This PR follow-up by also recording the render pass commands even in the case where one of them triggers a validation error. Another big part of the PR now is handling the command buffers that failed for some reason. The submission is skipping them now instead of erroring the whole thing. **Testing** Tested manually on wgpu-rs examples Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>