mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
1144: Fix and simplify attachment dimension mismatch check r=kvark a=DasEtwas This also improves error messages with detailed dimension and attachment type name info which developers can hopefully recognize. **Connections** None **Description** Before this commit, depth/stencil attachments are not considered when evaluating the renderpasses' dimension, which will result in a "NoAttachment" error with a confusing display message. **Testing** Tested by running an application making use of color-only and depth/stencil-only attachment renderpasses. Tested by running boids, hello-triangle and shadow examples. Co-authored-by: DasEtwas <18222134+DasEtwas@users.noreply.github.com>