Repository navigation
Conversation
…-20261115 # Conflicts: # core/libs/prx/libSceGnmDriver/Export.cpp
|
No actionable comments were generated in the recent review. Walkthrough
Change: Feature Merge Risk:
|
|
Exports with a name or library/NID already present in
|
Progress report (4131f51 → 21ec579)📈 System libraries: 47.94% (+0.0013%, +1 implemented function) ✅ 1 implemented
Changed libraries (implemented exports)
|
What
GTA V (CUSA00419, bring-up #18084) imports NID
Idffwf3yh8sassceGnmDrawInitDefaultHardwareStatefrom the regularlibSceGnmDriver. Currentmainprovides that name only fromlibSceGnmDriverForNeoMode, so the regular PRX leaves the import unresolved. Add a regular-provider export, using_nid_disambig1to keep its host symbol distinct while retaining the guest NID.Share the existing 256-dword draw-state writer with
sceGnmDrawInitDefaultHardwareState175, selectingSC_MODE_CNTL_1 = 0x06000000for the unversioned function and preserving0x06020000for 175. Both refuse a buffer shorter than 256 dwords without writing. The pinned shadPS4 writer and packet arrays use this signature and sequence; their base and 175 arrays differ in only that mode word. The existing GNM technical debt records that these packets have not been checked on a console. Null and invalid-pointer behavior is also unmeasured; this follows the existing regular 175 writer's size-first path, without a new success fallback.This change is independent of boykopovar#18087's
_padebugdependency mapping. It removes one regular-library import gap; the title was not retested and still has the other local conversion/runtime dependencies listed in boykopovar#18084. No title-start or in-game claim is made.Tested
Latest refresh (15 November 2026): current head
21ec57969d7deec7fbd045670cfdd5960617067eincludes upstream maineef73731fc926d18e3e8b19849ed42511a1adb09and merged #20844, which fixes the shared ICU test linker error that caused the preceding Windows Build failure. This PR’s patch relative to main remains confined to its intended files. The diff check andtools/check_conventions.pypassed on this current head. The GNM driver targets built andguest_gnm_driverplusguest_gnm_driver_init_modespassed (2/2) on prior head3235048a3b356d9afc8df3bfcad684e72000a06f. The current-head Build, Progress report, and Emscripten portability workflows passed; previous evidence below applies to its stated older heads.2d27859b056cf252cb76ce8e564905f5d143583c: built the regular GNM library and guest test (144 steps) and the NID-patched regular PRX (1,371 aggregate dependency steps). The existingguest_gnm_driverpassed. Its patched regular PRX (SHA-256796e157100911a363675889860f8f2e0f357553e68d4234317dec767c8ea489e) exported neighboring 175 NIDQhnyReteJ1Mbut notIdffwf3yh8s.sceGnmDrawInitDefaultHardwareState_nid_disambig1.libsplus guest-test build passed (811 steps; 407 patched PRXs).guest_gnm_driverpassed 3/3,gnm_driver_packetsandgnm_driver_submit_waitpassed 3/3 each, andpublic_headerspassed (407 libraries, 33,858 exports). The regular PRX (SHA-256ab0fe5e48f92a7908f5ed90ece2bf51ef16cc8badb505c1c60f868f1e9acec04) exported both NIDs; a separate dynamic lookup and call ofIdffwf3yh8son that PRX returned 256 complete packet dwords with the base mode and left the next dword untouched. The source files were byte-identical to the rebased commit below.b491fb2bc5c4e669e4dfe4aa75324d7154080656is based on02c52411e5b4df59e192301818182a228a9d353b. The intervening main commits changed no GNM implementation, guest-test, or GNM-debt files. Rebuilt the guest test and NID-patched regular PRX from the final source (639 steps);guest_gnm_driverpassed 3/3,public_headerspassed (407 libraries, 33,860 exports), and dynamic NID lookup/call passed again.check_conventions.py --base origin/mainandgit diff --checkpassed on this head.pr_overlap.py --branchwas attempted but could not start becauseghis unavailable. I manually compared the open feat(libSceGnmDriver): answer the CU mask and tessellation ring queries as firmware 13.42 does boykopovar/AnyPS5#16882, feat(libSceGnmDriver): share mode-independent command writers boykopovar/AnyPS5#17711, feat(libSceGnmDriver): add mode-aware VGT control writers boykopovar/AnyPS5#17942, feat: run PS4 games on the AGC driver — Limbo (CUSA01664) in game (integration branch) boykopovar/AnyPS5#6977 and fix(relinker): load libSceGnmDriver.prx for a libSceGnmDriver_padebug dependency boykopovar/AnyPS5#18087 changes/comments; none implements this regular-provider export. feat(libSceGnmDriver): add mode-aware VGT control writers boykopovar/AnyPS5#17942 touches a nearby API hunk and may need a routine rebase if it merges first.Rebased-head validation (November 10)
The current head is
c763323258dceaf91c8d4bf1b6a16ceaf72144a2, rebased onto upstream4306c608e2a552d5c96f11679332a222a4683ef9with the two worker-spin fixes. The feature patch is unchanged. On this exact source, the full Linuxlibstarget andguest_gnm_driver_testsrebuilt successfully (831 pending steps, two below-normal compiler jobs).guest_gnm_driverandpublic_headerseach passed three consecutive runs (6/6, no skips); the changed source files matched this head byte-for-byte. The earlier dynamic NID and packet test was on the prior head and has not been repeated on this rebase. Emscripten portability, Progress report and Conventions passed on the new head; the hosted Windows job passed. Hosted Linux and specialized PR jobs were skipped.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Summary by CodeRabbit