docs(agc): drop another level from the reused depth storage refusals #8412
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8412"
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 thuanquang on 2026-10-20T12:28:03Z.
What
The
Reused depth storageentry indocs/dev/debt/libSceAgcDriver.mdsays a matching storage view "still throws" when it is of another level. It does not:DepthSurfaceStoragereturns no depth storage formip != 0 || resource.baseLevel != 0(DepthSurface.cpp:1981onmain), soShaderResources.cppfalls through to the ordinary storage cache over guest memory, as the entry's first sentence describes for other mismatching views.tests/execution/DepthStorage.cpp:203and:208require that a storage access to a later level gets no depth storage. "or another level" is removed from the list of refusals.Tested
Docs only; nothing was built or run. Checked on
mainby readingDepthSurface.cpp:1981, theDepthSurfaceStoragecall inShaderResources.cpp, andtests/execution/DepthStorage.cpp:203-208. (main02b5a8e55)python tools/check_conventions.py --base origin/mainwith this title and body: 0 errors and onedebt-lengthwarning, because the entry was already over 1000 characters (3629 before, 3613 after this change).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-21T05:59:54Z.
Review: APPROVED
Checked against main:
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:2167returnsnullptrfromDepthSurfaceStoragewhenmip != 0 || resource.baseLevel != 0, andShaderResources.cpp:1116then falls through to the ordinary guest-memory storage path, so a view of another level is not refused with a throw.core/libs/prx/libSceAgcDriver/tests/execution/DepthStorage.cpp:203and:208pin that behaviour (a later mip orbaseLevelgets no depth storage).check_conventions.py --base main --head pr-8412: 0 errors; the onedebt-lengthwarning is the entry's existing length.Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.