Files
86a5da13e4 agc: return the Sh register-list size Returnal queries (#2576)
* agc: return the Sh register-list size Returnal queries

Returnal's main menu calls sceAgcCbSetShRegistersDirectGetSize
(NID yUBESvCCJ4I) before writing a shader register list. The writer was
already implemented but the size query was not registered, so the game
stopped on an unresolved import instead of reaching the next stage.

Report three dwords per register, the writer's worst case when no two
registers are adjacent. Adjacent registers still merge into one range
and use less than the queried size. Register the NID and cover the
upper bound, merged writes and the NID lookup in agc_tests.

Refs #2373.

* agc: wrap the Sh register-list size at 32 bits instead of aborting

---------

Co-authored-by: lordra9-svg <342614157+lordra9-svg@users.noreply.github.com>
Co-authored-by: nmzik <Nmzik@mail.ru>
2026-11-30 19:22:20 +01:00
..
2026-10-10 05:42:32 +02:00
2026-07-16 10:21:41 +02:00
2026-07-16 10:21:41 +02:00
2026-07-16 10:21:41 +02:00
2026-07-16 10:21:41 +02:00
2026-07-21 07:37:52 +02:00