Create a frame-graph task that resolves sourceTexture's multisampled depth into targetTexture's single-sample depth. Add it AFTER the source render task and BEFORE any depth-sampling consumer.
sourceTexture
targetTexture
Create a frame-graph task that resolves
sourceTexture's multisampled depth intotargetTexture's single-sample depth. Add it AFTER the source render task and BEFORE any depth-sampling consumer.