Depth target gets cleared before compute pass when previously used as attachement without storing values #4146
Labels
area: api
Issues related to API surface
area: documentation
Documentation for crate items, public or private
Description
Occurs with the following sequence
Repro steps
see the attached example
Expected vs observed behavior
I would expect that the depth target does not get cleared when running the compute pass.
Extra materials
The attached zip contains a minimal example of the issue.
Platform
Windows 10
wgpu 0.17 and master on Vulkan backend
RX 570 driver version 21.50.21.11
wgpu-depth-clear-bug.zip
The text was updated successfully, but these errors were encountered: