Open Elabajaba opened 7 months ago
Does this happen without renderdoc attached? If not, this is likely a renderdoc problem. Similarly do we pass with synchronization validation enabled via the vk configurator?
Perhaps related: #5253, which also raises UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout
when run against a recent build of Vulkan-ValidationLayers.
Description Depth attachments don't seem to always be getting set to the correct layout.
Repro steps Launch the wgpu shadow example in renderdoc with the vulkan backend. Change the "Capture 1 Sequential Frame(s)" to some higher number (I've been using 5, but the error tends to pop up by the 2nd or 3rd capture), then run the capture. Open the captures and check the bottom left corner to see if it's erroring.
Expected vs observed behavior Expected: No validation errors, observed: validation errors.
Platform wgpu 0.19 and trunk (tested: e2e9ef55474f32742bfdff3ccbac3b2cda4ebf85)
Windows 11, AMD 6800xt 24.1.1 drivers, Vulkan backend It has also been reproduced by someone else on an nvidia 4080, not sure what drivers.