feat(libSceAgc): report occlusion query and index indirect argument packet sizes #1584
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1584"
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 EdouardSence on 2026-10-08T13:37:49Z.
What
Implements three libSceAgc size queries that titles call to reserve command-buffer space for builders the SDK inlines:
sceAgcDcbBeginOcclusionQueryGetSize(queryType): 16 bytes for type 0, 288 for type 1. Any other type throws.sceAgcDcbEndOcclusionQueryGetSize(): 16 bytes.sceAgcDcbSetIndexIndirectArgsGetSize(): 16 bytes.Sources:
sceAgcDcbSetIndexIndirectArgsitself stays unimplemented. AnyPS5 declares it as(buf, dataOffsetInBytes), while OpenAGC and SharpProspero both take an address plus a 32-bit value. The 0x91 packet it writes is also not handled by the driver.Library progress: 2572 → 2575 of 3034.
Tested
Linux (CachyOS, GCC), RX 9070 XT:
agc_draw_packet_size_tests: checks the values, and that query type 2 throws.ctest: 459/459.tools/check_conventions.pypasses.No title calls these during the Astro Bot (PPSA21567) runs I have, so nothing was tested in-game.
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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T13:38:26Z.
Progress report (
4b005b2→a6e9483)📈 System libraries: 84.86% (+0.1%, +3 implemented functions)
✅ 3 implemented
sceAgcDcbBeginOcclusionQueryGetSizesceAgcDcbEndOcclusionQueryGetSizesceAgcDcbSetIndexIndirectArgsGetSizeImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:54:50Z.
Closing: as the description says, no title calls these three GetSize functions, so the only effect is the progress count. Please reopen when a title stops at one of them on main.
Pull request closed