Repository navigation
feat(libSceAgcDriver): export sceAgcDriverGetHsOffchipParam - #3883
Conversation
57b171f to
1b4535a
Compare
|
#4182: #3883: the stub follows this file's own pattern exactly ( One thing to flag before merging: open PR #3648 also edits the same block of Written with AI assistance. |
|
|
|
Rebase handoff — rebased onto current Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
To pick it up: Head is |
1b4535a to
2800f45
Compare
|
@oneandonlydean the rebased branch is ready — @hansjm10 if you'd rather take it yourself, the pick-up is one command: Happy to re-push if main moves again before this merges. |
2800f45 to
bdb0be0
Compare
What
PS5 FSR4 Showcase (PPSA99011, 01.000.010 from the homebrew catalog) relinks with #3804's
--trap-sdk-syscall-stubs(#2136). Onmaina11c8f7 it then stops in the loader:r28hEh6cNH0issceAgcDriverGetHsOffchipParam(tools/nid_names.py). It is the title's only absent import:tools/import_audit.pycounts 213 of 215 implemented, 1 throwing stub and this one.The change declares it in
libSceAgcDriver/Unimplemented.cppas a throwing stub. The twouint16_toutput pointers andint32_treturn follow ps5-vulkan, the Vulkan layer the showcase pins at4bb0c8b. Its callers sit only on tessellation paths (graphics_queue_ps5.cL2241), which the showcase does not reach at start-up. What the two values mean and their initial state are unknown.sceAgcDriverSetHsOffchipParamkeeps nothing here, so the getter has nothing to return. The TechnicalDebt entry records this.#2384 (closed by the new-contributor intake) declared the same function as
(void*, void*)among 44 others, without a title.Tested
Linux (Debian 12), GCC 14.4, Release; RADV GFX1036, Mesa 22.3.6. The showcase was relinked with #3804 (
0a6247532); the SELFs were unwrapped to plain ELFs first, and their embedded SHA-256 matched.mainlibs): the loader stops onundefined symbol: r28hEh6cNH0.[debug:0] FSR4_SHOWCASE_BEGIN heap=0). The next stop issceSysmoduleLoadModuleInternal: unknown id 2147483796(0x80000094, libSceAgc), handled in a follow-up PR. The getter is not called.mainwith the deprecated debugging switch--skip-syscall-check, the title shows the same before and after stops.python3 tools/check_conventions.py --base origin/mainpasses.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)