AGC: a whole-HTILE fill of an inactive native multisample depth surface is refused as a "metadata fill transition" #28612
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-12-02T01:55:40Z.
Summary
On
main7d3d015fee,NoteDepthMetadataFillrefuses sampling of a native multisample depth surface with "native multisample depth metadata fill transition is not implemented" when a DMA fill covers that surface's whole HTILE, if the surface's sampling is not active. The message suggests a partial fill, but Blue Prince (PPSA25009) only issues whole-HTILE fills here, and this refusal is the most common reason it stops: 4 of its 7 stops in my 12-run session on 12-01 (discussion #9189).Where
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp,NoteDepthMetadataFill:A whole-HTILE fill of a surface whose sampling is not active skips the first branch, because of
samplingActive. It is then refused at line 5571 before theHtileFillCoversblock that follows, which records exactly that case as an HTILE clear.Git history: the blanket
if (overlaps) Refuse(...)came withee1ba73a2f(10-13, "sample native multisampled depth attachments"), when no multisample fill was handled. ThesamplingActivewhole-fill branch came after it.Evidence
Windows 11 22621, RX 6700 XT, MinGW-w64 GCC 15.2 UCRT r7, Release. Blue Prince entrance hall, 3 runs of 240 s. I used a local diagnostic build of
7d3d015fee, not for merging, that prints one line just before thatRefuse. For example:0x00000000.Possible direction (not verified)
The refusal looks like it was meant for fills that do not cover the HTILE:
With that change, an inactive surface's whole fill would reach
NoteHtileClear. The partial-fill refusal asserted byagc_driver_*inNativeMultisampleDepth.cpp(CheckDriverPathTarget,DriverFill::Partial) would stay. I have not checked whether the pending-clear path is correct for a native multisample surface that later becomes sampled, so I am not opening a PR. I can test a candidate on this title and machine.AI-assisted: yes.