feat(libSceAgc): build versioned ACB atomic GDS commands #3756
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3756"
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 Lorkydey on 2026-10-11T16:30:35Z.
What
Implement
sceAgcAcbAtomicGds_0900(gQkqkLttcpw), which currently throws, as an eleven-dwordATOMIC_GDScommand builder. Preserve the control/mode bit mapping, field masks, 16-bit offset/index and both 64-bit payloads. Use the existing command-buffer allocator for reservation, guest callbacks and allocation errors.Road of Death (PPSA07286) imports this throwing export in the audit posted in #2591:
That is import evidence, not a runtime trace showing the title reaches this call. No title was run for this PR. This change implements packet construction only; it does not implement
ATOMIC_GDSexecution in the driver or claim that Road of Death advances further.The signature and packet layout follow OpenAGC
game_compat.cat 3c7e8072, lines 1672-1703. The older unversioned size helper is unchanged: this export has the distinct_0900cursor ABI.Tested
Windows, MinGW-w64 GCC 15.2.0, Release,
BUILD_TESTING=ON, based on current maina11c8f7f.agc_commandsfirst: with the production code on main it fails withsceAgcAcbAtomicGds_0900 not implemented; with this change it passes.cmake --build build --parallel 8: passed.ctest --test-dir build -R '^agc_(initialization|commands|platform_tests|packet_info_tests|register_command_tests|shader|interpolant|prim|gs_)' --output-on-failure --parallel 4: 18/18 passed.python tools/check_test_registration.py build,python tools/check_conventions.py --base origin/mainandgit diff --check: passed.tools/progress.py: library implementations 2903/3383 -> 2904/3383 (85.81% -> 85.84%). This measures source implementation coverage, not game compatibility.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-11T16:30:56Z.
Progress report (
c7b9719→38cb3b1)📈 System libraries: 86.02% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceAgcAcbAtomicGds_0900Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:58:23Z.
Checked against OpenAGC
game_compat.c(3c7e807): signature, control/mode mapping, masks and the 11-dword layout match; build and the libSceAgc ctest set pass on Linux, andagc_commandsfails without the change.Added one commit on your branch: a TechnicalDebt "Unknown function info" line, since OpenAGC is the only source for this layout (no KytyPS5/shadPS4 body) and nothing was run on a title. Note the cited line range in the PR body is off; the function is around line 1825 at that commit.
Merging once CI is green.