agc: Cleanup names so they match NIDs #1508
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1508
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1508/head"
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?
@opcod3 on GitHub · 2026-10-14 14:24 UTC · original
opcod3:agc-cleanup→main· +21 −21 · 4 files · 2 commits · merged 2026-10-16 00:16 UTCSimple commit tidying up libSceAgc function names so they match their NIDs. This just a tidy-up commit that makes it more obvious what each function is.
Names were obtained or extrapolated from: https://github.com/flatz/ida_ps5_elf_plugin
@coderabbitai[bot] on GitHub · 2026-10-14 14:37 UTC · original · edited 2026-10-14 14:47 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
420ed3aa-d367-471a-98ef-d609f8ac8a9c📥 Commits
Reviewing files that changed from the base of the PR and between 46a3aaa5f10e638dc82cb084ba4dad5e989db189 and
3c57725b9c.📒 Files selected for processing: 1
tests/ShaderRecompilerComputeTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
The AGC header and implementation replace opaque export names with descriptive names for shader sizing and fusion, jump-target patching, index-size setting, and default-owner registration. The fusion APIs retain distinct shared-VGPR recomputation behavior. Driver symbol registrations now reference the named implementations. Comments identify several existing registrations as
sceAgcAsyncandsceAgcDriverAgrsymbols.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Refactor
Merge Risk: ⚪ Minimal · up to
3c577This change renames AGC exports while preserving the existing driver bindings and shader-fusion behavior; no actionable merge-blocking risk remains.
Pre-merge checks:
4 ·
1
Full details: Docstring Coverage
Explanation
Docstring coverage is 6.25% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 16 functions across 3 files. (1 skipped: 1 too large.)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.@coderabbitai[bot] on GitHub · 2026-10-14 14:37 UTC · original
On
src/libs/agc.hline 47 (outdated):🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 3893
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 12911
Update the fusion test to use the renamed declarations.
src/libs/agc.hrenames both fusion functions, but the test still selects the removed identifiers. The Windows and macOS CI builds explicitly build this test target, so those builds fail.Suggested fix
The target is excluded from the default build and is not requested by Linux CI. This is a localized CI test-build failure, not a production runtime failure.
@coderabbitai[bot] on GitHub · 2026-10-14 14:37 UTC · original · reviewed
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
e801f95a-f7c5-4628-9a01-21a29a7fe7c5📥 Commits
Reviewing files that changed from the base of the PR and between
9e41d8320aand 46a3aaa5f10e638dc82cb084ba4dad5e989db189.📒 Files selected for processing: 3
src/libs/agc.cppsrc/libs/agc.hsrc/libs/libAgcDriver.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
@opcod3 on GitHub · 2026-10-17 11:12 UTC · original
Hey thanks for merging my pr, could I ask why did you rename AgcGetFusedShaderSize back to AgcUnknownGetFusedShaderSize? The whole idea was to keep the function names aligned with their NIDs
@Nmzik on GitHub · 2026-10-18 15:26 UTC · original
@opcod3 fixed thanks!