fix(agc): draw stencil clears requested through DB_RENDER_CONTROL #2504
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2504"
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 esatturan on 2026-10-09T23:33:01Z.
Split from #2053 in review.
What
A draw with
DB_RENDER_CONTROL.STENCIL_CLEAR_ENABLEthrewdepth/stencil clear, copy, resummarize or decompress draws (DB_RENDER_CONTROL) is unsupported. It is now drawn with a stencil test that always passes and replaces withDB_STENCIL_CLEARon both faces.DB_RENDER_CONTROLoperations (depth clear, copy, resummarize, decompress) still throw.STENCIL_CLEAR_ENABLE, and the HTILE state a fast clear leaves, are recorded in TechnicalDebt.PPSA29141 clears its stencil this way while Unity starts. On
mainwith #1482, it stops withdepth/stencil clear, copy, resummarize or decompress draws (DB_RENDER_CONTROL) is unsupported (register 0x0 = 0x00000022).Tested
Windows 11, i7-13650HX, RTX 4070 Laptop, MinGW-w64 GCC 15.2.
agc_driver_graphics: the decode of a stencil clear draw (ALWAYS and REPLACE withDB_STENCIL_CLEARon both faces) and the three refusals. It fails onmainwith the error above.cteston currentmain(c6e3aa76) merged with this branch, the other LEGO Party! PRs and #1482: 547/547 pass. On Windows,main'slibsstep currently fails withduplicate patched export name: LibwuIonIBw: #1714 addedAPS5_EXPORTs forsceVideoOutAddVrrActiveStatusEventandsceVideoOutAddVrrStatusFlagsPrivilege, whose names the NID table already maps. Those two lines were removed locally for the run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T23:36:24Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed