docs(libSceAgc): document sceAgcCbMemsetExclusive 13.42 firmware dispatch #12475
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12475"
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 Kikoarl on 2026-10-28T15:34:00Z.
What
Documents
sceAgcCbMemsetExclusiveindocs/dev/debt/libSceAgc.mdbased on firmware 13.42libSceAgc.sprxanalysis (export at0x3100, 1121-byte body), analyzed via disassembly and emulator testing by BunnyFl (not measured on console hardware). Clarifies that the module dispatches an internal compute shader (COMPUTE_PGM_LO0x20c, 256 threads, 16-byte pattern via 9 user-data registers from0x240,0x216/0x217,DISPATCH_DIRECT16x1x1 thread groups whose initiator is0x41combined with bits from the shader object and a module global) rather than a CPDMA_DATApacket, keeping the export throwingNotImplemented_nid_no_patchincore/libs/prx/libSceAgc/Unimplemented.cppas shader microcode and hardware effects remain unresolved. Consolidates documentation into a single technical debt entry under### Unknown function info, preserving historical facts: absent from 4.03 export table, PPSA20397 import vialibSceJobManager.prxwithout active call site, all 12 retail call sites across 6 titles (PPSA15246, PPSA21480, PPSA23827, PPSA24423, PPSA24779, PPSA35169), and the PPSA24423 0x41768 condition (flag byte 1 and size >= 0x40000).Tested
ctest --test-dir /tmp/anyps5_build -R "^agc_commands$" --output-on-failure(100% passed).python3 tools/check_conventions.pypassed with 0 errors.python3 core/libs/tests/test_public_headers.py --audit-onlyverified 405 libraries and 27,906 exports.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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T15:39:07Z.
Review: CHANGES_REQUESTED
I reviewed the exact head
95254de7339e. The implementation is not yet supported by evidence for the behavior it now returns: the new debt entry explicitly says the packet layout and engine blocking are unverified against retail traces, whilesceAgcCbMemsetExclusivenow emits a specificDMA_DATApacket with fixed engine/source/cache/wait/confirm/block fields and returns it as success. The new command test asserts those same chosen words, so it checks the encoder but does not independently establish that these are the console's semantics. The repository rule inAGENTS.mdsays to throw and record debt when general behavior is unknown. Please provide an authoritative hardware trace/firmware implementation or other exact source for this packet and its flags; absent that, keep the export throwing until the behavior is known.Also, this changes
libSceAgccommand behavior, but the PR reports only the command unit test on Linux, marks GPUsn/a, and the hosted Windows build is still running. The project instructions require matching focused AGC validation onmainand this head with the validation layer, no shader cache, and Vulkan required, plus the tested GPU/OS. Please run and report that required comparison if this implementation remains, and state any unavailable platform coverage accurately. I did not independently run the new test or hardware validation in this review.