refactor(agc): name HV4j+E0MBHE sceAgcCreateInterpolantMapping_0100 #2319
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2319"
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 parl0v on 2026-10-09T15:25:58Z.
What
sceAgcCreateInterpolantMappingis exported through the aliasAPS5_EXPORT("HV4j+E0MBHE", sceAgcCreateInterpolantMapping), but that name doesn't hash toHV4j+E0MBHE:compute_nid("sceAgcCreateInterpolantMapping")ispdEV7bI6COI. The real name has the version suffix the other Agc exports carry:This renames the function to
sceAgcCreateInterpolantMapping_0100and drops the alias, as #1145 did for the libc and Json2 stubs. It followssceAgcUpdateInterpolantMapping_0100. The callers inLinkShaders.cpp, the two tests and the TechnicalDebt line fordbOlWdppb4oare updated. Behaviour is unchanged.Side effect on the export table: the function was also exported under its own name, which
nid_patcherhashed intopdEV7bI6COI, a NID no Sony module has. That one is gone;HV4j+E0MBHEis still exported (libSceAgc.prx510 to 509 exports, checked withobjdump -p).The name isn't in the pinned NID database. It was found by hashing the database's names with Agc version suffixes appended.
HV4j+E0MBHEis imported by all eight titles in #265 to #272.Tested
Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release,
BUILD_TESTING=ON, ond70b8998.libSceAgc.prxexport table before and after, as above.ctest -R "agc|interpolant|shader": 259/259 passed (1 skipped by design).tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-09T20:00:51Z.
Tested on Linux (CachyOS x86_64, Intel RPL-S iGPU / Mesa 26.3.0-devel / Vulkan 1.4.363, GCC 16.2.1) at
c90f8553:/tmp/anyps5_build) with zero warnings/errors.python3 tools/check_conventions.py --base origin/main --head HEAD-> PASS (0 errors).InterpolantMapping.cppandShaderHelpers.cpptest suites. Replaces hashed NIDHV4j+E0MBHEwith proper canonical exportsceAgcCreateInterpolantMapping_0100across all callers.LGTM!
Imported from boykopovar/AnyPS5. Originally posted by parl0v on 2026-10-09T20:09:38Z.
Thanks for testing it on Linux, @Kikoarl!
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T20:51:54Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgc/Shader/src/LinkShaders.cppL29Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T21:01:32Z.
Checked
compute_nid("sceAgcCreateInterpolantMapping_0100") == "HV4j+E0MBHE"(the old name hashes topdEV7bI6COI), no remaining references to the old name, build +agc_interpolant_mapping/agc_shader_helperson top of currentmain, TechnicalDebt line placement; also confirmed on Linux by @Kikoarl. Behaviour unchanged; merging once CI is green.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T21:09:37Z.
Progress report (
d70b899→c90f855)➖ System libraries: 84.69% (+0.0%, +1 implemented, -1 removed functions)
✅ 1 implemented
sceAgcCreateInterpolantMapping_0100🗑️ 1 removed
sceAgcCreateInterpolantMapping