mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-02 12:56:05 +00:00
A draw with DB_RENDER_CONTROL.DEPTH_COPY copies one sample of the Z_32_FLOAT depth surface into color target 0. It now runs as a compute pass that fetches that sample and stores it into the R32 float target, when the draw covers the whole surface without depth or stencil tests. With COPY_CENTROID the sample is the first one the draw covers, which is sample 0 under the full sample mask the driver requires, as radeonsi programs its per-sample DB to CB copies. Co-Authored-By: Claude Opus 5.5 <[email protected]>