DepthStencilState::depth_write_enabled == false && RenderPassDepthStencilAttachment::depth_ops.is_some()
is not caught by validation
#2944
Labels
area: validation
Issues related to validation, diagnostics, and error handling
Milestone
Description
Refer to https://gpuweb.github.io/gpuweb/#abstract-opdef-gpurenderpassdepthstencilattachment-gpurenderpassdepthstencilattachment-valid-usage:
I expect getting a error from validation, but the depth buffer is discarded instead.
Platform
Apple M1 Max (Metal)
Windows NVIDIA GeForce RTX 3080 (Vulkan)
Version
wgpu 0.13.1
The text was updated successfully, but these errors were encountered: