docs(debt): record recovered evidence for CbMemsetExclusive and font drawup fills #11012

Merged
akkadbakkad89 merged 3 commits from upstream-pr/11012 into main 2026-10-27 03:50:58 +00:00
akkadbakkad89 commented 2026-10-25 14:11:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-25T14:11:52Z.


What

Debt-only change recording the reverse-engineering outcome for three throwing stubs, with the evidence that keeps them throwing.

  • sceAgcCbMemsetExclusive (NID 6nths4DHNrs): absent from the 4.03 libSceAgc.sprx export table along with the rest of the memset family, so it is a post-4.03 export and no body was read. PPSA20397 imports it through libSceJobManager.prx and the title's generated fakelib lists it, but the only code path reaching it is an import thunk no call site invokes - no caller arguments observed.
  • sceFontGraphicsDrawupFillTextureImageObject and sceFontGraphicsDrawupFillTexturePatternObject (NIDs CfkpBe2CqBQ, FL0unhGcFvI): signature (graphicsObject, fillObject, mode, out, x, y, w, h) and semantics recovered from the 4.03 libSceFont.sprx bodies (670/871 bytes) and cross-checked against PPSA20397's libSceFontGsm.prx caller. On valid input they allocate a drawup record in the renderer's pool and enqueue it into the object's record list. Implementing them needs the sceFontGraphics drawup pipeline - the record pool, the dequeueing objects and the ~40 sibling sceFontGraphics* exports - all of which are stubbed, so a standalone producer would report success for work nothing consumes.

Tested

Not tested - documentation only. tools/check_conventions.py --base origin/main passes; tools/pr_overlap.py --branch docs/agc-font-stub-evidence shows only #1060, #5209 and #8250 touching the same debt files, each appending an unrelated entry.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5005490146 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11012). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-25T14:11:52Z. --- ### What Debt-only change recording the reverse-engineering outcome for three throwing stubs, with the evidence that keeps them throwing. - `sceAgcCbMemsetExclusive` (NID `6nths4DHNrs`): absent from the 4.03 `libSceAgc.sprx` export table along with the rest of the memset family, so it is a post-4.03 export and no body was read. PPSA20397 imports it through `libSceJobManager.prx` and the title's generated fakelib lists it, but the only code path reaching it is an import thunk no call site invokes - no caller arguments observed. - `sceFontGraphicsDrawupFillTextureImageObject` and `sceFontGraphicsDrawupFillTexturePatternObject` (NIDs `CfkpBe2CqBQ`, `FL0unhGcFvI`): signature `(graphicsObject, fillObject, mode, out, x, y, w, h)` and semantics recovered from the 4.03 `libSceFont.sprx` bodies (670/871 bytes) and cross-checked against PPSA20397's `libSceFontGsm.prx` caller. On valid input they allocate a drawup record in the renderer's pool and enqueue it into the object's record list. Implementing them needs the `sceFontGraphics` drawup pipeline - the record pool, the dequeueing objects and the ~40 sibling `sceFontGraphics*` exports - all of which are stubbed, so a standalone producer would report success for work nothing consumes. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Not tested - documentation only. `tools/check_conventions.py --base origin/main` passes; `tools/pr_overlap.py --branch docs/agc-font-stub-evidence` shows only #1060, #5209 and #8250 touching the same debt files, each appending an unrelated entry. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
MarcZX10 commented 2026-10-25 14:15:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T14:15:26Z.

Review: APPROVED


Reviewed the two debt additions. They record the evidence and the implementation dependencies that keep these exports throwing, distinguish what was observed from what remains unknown, and do not add speculative behavior. The PR is documentation-only; conventions and the automated policy checks pass. No runtime test is applicable.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5643624978 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11012#pullrequestreview-5643624978). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-25T14:15:26Z. **Review:** APPROVED --- Reviewed the two debt additions. They record the evidence and the implementation dependencies that keep these exports throwing, distinguish what was observed from what remains unknown, and do not add speculative behavior. The PR is documentation-only; conventions and the automated policy checks pass. No runtime test is applicable.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!11012
No description provided.