perf(shader): reclaim unreachable cached source IR values #4271

Merged
eljackjoestar-cmd merged 2 commits from upstream-pr/4271 into main 2026-10-13 14:22:26 +00:00
eljackjoestar-cmd commented 2026-10-12 03:42:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by eljackjoestar-cmd on 2026-10-12T03:42:41Z.


What

Cached resource-plan blocks retain four embedded SSA register tables even after construction is complete. Allocate those tables only when used and release their storage after resource preparation. Reclaim unreachable source IR values when retaining a pending source program; skip the reclamation pass for immediate shader preparation and temporary uncached plans, whose programs are consumed or destroyed immediately.

Reclamation traces instruction, metadata and resource owners, unlinks garbage cycles before deletion, preserves live IDs, and throws on an unexpected remaining external user. Shader instruction semantics are unchanged. Source and variant entries remain unbounded; this does not solve all shader memory growth.

Rebased onto main fc1f063f51189be91a186fd943e809bab2ef1ea2. The reclamation/allocation patch is unchanged by this rebase (git range-diff matches). The branch contains this topic alone. Searches found no equivalent SSA-storage/reclamation fix. A pairwise merge simulation conflicts with #4883 only in Recompiler.cpp; proposed order is #4271 then #4883, pending agreement. #4884 merges cleanly in that simulation; no combined runtime validation is claimed.

Tested

Windows 11 x64, Ryzen 7 7800X3D, 32 GiB RAM, NVIDIA RTX 5070, WinLibs GCC 15.2, Ninja Release, BUILD_TESTING=ON, emulator SPIRV-Tools OFF. Lost Soul Aside, PPSA26358. The metric is Windows process commit/private bytes (Process.PrivateMemorySize64), in MiB, rather than working set or cumulative freed-object counts.

Isolated main revision c2565f014 versus that same main plus this PR alone, measured before the latest rebase, with the same executable, game/configuration and machine:

Build Run 1 MiB Run 2 MiB Mean MiB
main c2565f014 11881.17 11888.80 11884.99
main + this PR d317aa64d 11549.04 11540.39 11544.72

340.27 MiB lower process commit (2.86%). Checkpoint: first observed intro frame >=600, then suspend the process before reading commit; recorded frames are 605/605 on main and 600/604 on the PR. Both use ANYPS5_NO_SHADER_CACHE=1, APS5_SYNC_SHADER_PREPARE=1 and APS5_NO_PAD_INPUT=1. File-backed SPIR-V and other local game fixes are absent. All runs are sequential without concurrent builds/tests. Clean main stops later with mipmapped or DCC 3D color targets are unsupported, so the failed title attempt is excluded.

Separate local title-screen comparison, retaining the other local game fixes: rebuilt control without this PR = 9866.36 MiB; revised runs = 9563.39 and 9520.43 MiB, mean 9541.91 MiB. 324.45 MiB lower process commit (3.29%). Each reading is the median of five samples 10-15 seconds after title-label detection. Both use the common settings above plus file-backed SPIR-V. The control and revised sources differ only in IrBlock.hpp and Recompiler.cpp; all other 126 runtime files match. This is not the isolated-main comparison. Earlier original-PR on/off testing showed a 258.63 MiB regression; the revised allocation strategy replaces that implementation's unnecessary upfront reclamation work.

Raw process traces, checkpoint readings, settings and calculation details. No title data is uploaded. Peak gameplay memory, complete playability and an FPS improvement are not claimed.

  • Full Windows Release build passes again on fc1f063f5. Ten focused tests pass again without skips in 2.19 s: agc_ir_reclaim, agc_shader_memory, agc_shader_control_flow, agc_shader_disk_cache, the three agc_driver_relative_* tests, agc_masked_select, agc_vector_window and pixel_ancillary.
  • Ownership regression also checks lazy-table allocation/release, colliding external IDs, recovery after an external-owner rejection, and program move construction/assignment.
  • A captured 1972-code-word title shader emits byte-identical 134780-word SPIR-V on the measured c2565f014 main and its PR build, SHA-256 1b8e6b2b8e1efc29db228684a88612a00cb8a516493d3dcbfa0333c193a9840b.
  • Conventions and whitespace checks pass. The full test suite was built but not executed. Linux/macOS, hardware validation and full CI success are not claimed.

Checklist

  • Based on current main; no equivalent open PR implements this fix
  • One topic per PR
  • No new code comments; memory limitations recorded in docs/dev/debt/shader.md
  • Unimplemented paths throw; no silent stubs added
  • No investigation files, images or game data added to the repository
  • No new third-party code
  • Generic behaviour, not specific to one title
  • Depends on: none; proposed merge order with #4883 awaits agreement
  • Unblocks: none
  • AI-assisted: yes (Codex)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4824648943 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271). Originally posted by [eljackjoestar-cmd](https://github.com/eljackjoestar-cmd) on 2026-10-12T03:42:41Z. --- ### What Cached resource-plan blocks retain four embedded SSA register tables even after construction is complete. Allocate those tables only when used and release their storage after resource preparation. Reclaim unreachable source IR values when retaining a pending source program; skip the reclamation pass for immediate shader preparation and temporary uncached plans, whose programs are consumed or destroyed immediately. Reclamation traces instruction, metadata and resource owners, unlinks garbage cycles before deletion, preserves live IDs, and throws on an unexpected remaining external user. Shader instruction semantics are unchanged. Source and variant entries remain unbounded; this does not solve all shader memory growth. Rebased onto main `fc1f063f51189be91a186fd943e809bab2ef1ea2`. The reclamation/allocation patch is unchanged by this rebase (`git range-diff` matches). The branch contains this topic alone. Searches found no equivalent SSA-storage/reclamation fix. A pairwise merge simulation conflicts with #4883 only in `Recompiler.cpp`; proposed order is #4271 then #4883, pending agreement. #4884 merges cleanly in that simulation; no combined runtime validation is claimed. ### Tested Windows 11 x64, Ryzen 7 7800X3D, 32 GiB RAM, NVIDIA RTX 5070, WinLibs GCC 15.2, Ninja Release, BUILD_TESTING=ON, emulator SPIRV-Tools OFF. Lost Soul Aside, PPSA26358. The metric is Windows process commit/private bytes (`Process.PrivateMemorySize64`), in MiB, rather than working set or cumulative freed-object counts. **Isolated main revision `c2565f014` versus that same main plus this PR alone, measured before the latest rebase**, with the same executable, game/configuration and machine: | Build | Run 1 MiB | Run 2 MiB | Mean MiB | |---|---:|---:|---:| | main `c2565f014` | 11881.17 | 11888.80 | 11884.99 | | main + this PR `d317aa64d` | 11549.04 | 11540.39 | 11544.72 | **340.27 MiB lower process commit (2.86%)**. Checkpoint: first observed intro frame >=600, then suspend the process before reading commit; recorded frames are 605/605 on main and 600/604 on the PR. Both use `ANYPS5_NO_SHADER_CACHE=1`, `APS5_SYNC_SHADER_PREPARE=1` and `APS5_NO_PAD_INPUT=1`. File-backed SPIR-V and other local game fixes are absent. All runs are sequential without concurrent builds/tests. Clean main stops later with `mipmapped or DCC 3D color targets are unsupported`, so the failed title attempt is excluded. **Separate local title-screen comparison**, retaining the other local game fixes: rebuilt control without this PR = 9866.36 MiB; revised runs = 9563.39 and 9520.43 MiB, mean 9541.91 MiB. **324.45 MiB lower process commit (3.29%)**. Each reading is the median of five samples 10-15 seconds after title-label detection. Both use the common settings above plus file-backed SPIR-V. The control and revised sources differ only in `IrBlock.hpp` and `Recompiler.cpp`; all other 126 runtime files match. This is not the isolated-main comparison. Earlier original-PR on/off testing showed a 258.63 MiB regression; the revised allocation strategy replaces that implementation's unnecessary upfront reclamation work. [Raw process traces, checkpoint readings, settings and calculation details](https://gist.github.com/eljackjoestar-cmd/b5fd02e3f1283b0e7f6a7368d7c6cb73). No title data is uploaded. Peak gameplay memory, complete playability and an FPS improvement are not claimed. - Full Windows Release build passes again on `fc1f063f5`. Ten focused tests pass again without skips in 2.19 s: `agc_ir_reclaim`, `agc_shader_memory`, `agc_shader_control_flow`, `agc_shader_disk_cache`, the three `agc_driver_relative_*` tests, `agc_masked_select`, `agc_vector_window` and `pixel_ancillary`. - Ownership regression also checks lazy-table allocation/release, colliding external IDs, recovery after an external-owner rejection, and program move construction/assignment. - A captured 1972-code-word title shader emits byte-identical 134780-word SPIR-V on the measured `c2565f014` main and its PR build, SHA-256 `1b8e6b2b8e1efc29db228684a88612a00cb8a516493d3dcbfa0333c193a9840b`. - Conventions and whitespace checks pass. The full test suite was built but not executed. Linux/macOS, hardware validation and full CI success are not claimed. ### Checklist - [x] Based on current `main`; no equivalent open PR implements this fix - [x] One topic per PR - [x] No new code comments; memory limitations recorded in `docs/dev/debt/shader.md` - [x] Unimplemented paths throw; no silent stubs added - [x] No investigation files, images or game data added to the repository - [x] No new third-party code - [x] Generic behaviour, not specific to one title - [x] Depends on: none; proposed merge order with #4883 awaits agreement - [x] Unblocks: none - [x] AI-assisted: yes (Codex)
Scramblrrrr commented 2026-10-12 10:35:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Scramblrrrr on 2026-10-12T10:35:15Z.


Preparing an isolated allocation-lifetime probe for 007 on an older Windows integration base: https://github.com/Scramblrrrr/AnyPS5/tree/codex/first-light-ir-reclaim-probe head 69a5580ab, credited cherry-pick of your final 2c5ed6ff1. Source only, NOT built/staged/validated yet.

This is explicitly not a cross-test of the whole #4271 dependency stack. #4150's translation changes expect the newer private VGPR-window infrastructure absent from this older 007 base; that attempted dependency port was aborted entirely. The probe retains our existing translator/masked-select semantics and only takes your final reclamation API, ResourceProgram construction change and IrReclaim fixture. CMake conflict resolved by adding only agc_ir_reclaim, without the newer vector-window target. Base a33e1e5fc also includes #290/#4385/#3991 cross-test sources, and is not current main. No new upstream implementation/PR.

Ownership regression, existing shader/cache checks and unchanged output checks will gate any game carry. I won't call the whole PR validated from this probe or assume it solves steady-state growth. Current game run remains graphics4e4083057, unchanged by this source preparation. AI-assisted: Codex. No title data uploaded.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6122538704 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6122538704). Originally posted by [Scramblrrrr](https://github.com/Scramblrrrr) on 2026-10-12T10:35:15Z. --- Preparing an isolated allocation-lifetime probe for 007 on an older Windows integration base: https://github.com/Scramblrrrr/AnyPS5/tree/codex/first-light-ir-reclaim-probe head 69a5580ab, credited cherry-pick of your final 2c5ed6ff1. Source only, NOT built/staged/validated yet. This is explicitly not a cross-test of the whole #4271 dependency stack. #4150's translation changes expect the newer private VGPR-window infrastructure absent from this older 007 base; that attempted dependency port was aborted entirely. The probe retains our existing translator/masked-select semantics and only takes your final reclamation API, ResourceProgram construction change and IrReclaim fixture. CMake conflict resolved by adding only agc_ir_reclaim, without the newer vector-window target. Base a33e1e5fc also includes #290/#4385/#3991 cross-test sources, and is not current main. No new upstream implementation/PR. Ownership regression, existing shader/cache checks and unchanged output checks will gate any game carry. I won't call the whole PR validated from this probe or assume it solves steady-state growth. Current game run remains graphics4e4083057, unchanged by this source preparation. AI-assisted: Codex. No title data uploaded.
Scramblrrrr commented 2026-10-12 11:05:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Scramblrrrr on 2026-10-12T11:05:31Z.


Isolated IR-reclamation probe 7a91759e4 (69a5580ab plus snapshot-fixture factory adaptation) passes six Windows native tests: ir_reclaim, shader_memory, structurizer, shader_disk_cache, shader_control_flow, graphics; no skips, 5.60s. Four complete local requests recompile with cache disabled to byte-identical SPIR-V versus efcd89969 (166156,2910928,3111352,45588 bytes). Old conditional-block36 request is truncated and excluded. Output identity is not runtime support for poisoned storage-table operations.
Still not the full #4271 dependencies/current main: credited final reclamation commit only, existing older translator semantics. Graphics SHA256 70E13CDABA52E5BF229A56EDE8BE53E9DF2EFB43AF9189BAF4672310FCC3EFF7. Starting guarded game comparison; no memory/FPS gain claim yet. https://github.com/Scramblrrrr/AnyPS5/tree/codex/first-light-ir-reclaim-probe . No title data uploaded. AI-assisted: Codex.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6123007900 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6123007900). Originally posted by [Scramblrrrr](https://github.com/Scramblrrrr) on 2026-10-12T11:05:31Z. --- Isolated IR-reclamation probe 7a91759e4 (69a5580ab plus snapshot-fixture factory adaptation) passes six Windows native tests: ir_reclaim, shader_memory, structurizer, shader_disk_cache, shader_control_flow, graphics; no skips, 5.60s. Four complete local requests recompile with cache disabled to byte-identical SPIR-V versus efcd89969 (166156,2910928,3111352,45588 bytes). Old conditional-block36 request is truncated and excluded. Output identity is not runtime support for poisoned storage-table operations. Still not the full #4271 dependencies/current main: credited final reclamation commit only, existing older translator semantics. Graphics SHA256 70E13CDABA52E5BF229A56EDE8BE53E9DF2EFB43AF9189BAF4672310FCC3EFF7. Starting guarded game comparison; no memory/FPS gain claim yet. https://github.com/Scramblrrrr/AnyPS5/tree/codex/first-light-ir-reclaim-probe . No title data uploaded. AI-assisted: Codex.
blawesom commented 2026-10-12 15:09:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-12T15:09:48Z.


Rebase handoff — rebased onto current main, authorship unchanged.

One semantic conflict in Recompiler.cpp, resolved deliberately: this PR ran the post-masked-select cleanup (fold + identity resolution) unconditionally, while main has since landed the same cleanup gated on a live PackedAncillary builtin. I kept main's gated version — it subsumes this PR's case (the gate only skips the passes when no live ancillary exists, and this PR's concern is precisely the ancillary one), so the proofs this PR needs are preserved while avoiding the unconditional cost. If you intended the cleanup for non-ancillary cases too, say so and I'll re-push with the unconditional form.

Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON, AMD RX 9070 XT / RADV):

  • builds; tools/check_conventions.py --base origin/main passes
  • full suite: 958/958 passed

To pick it up:

git fetch https://github.com/blawesom/AnyPS5 rebase/4271
git checkout <your branch>
git merge --ff-only FETCH_HEAD

Head is e002a41a0.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6127031048 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6127031048). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-12T15:09:48Z. --- **Rebase handoff** — rebased onto current `main`, authorship unchanged. One semantic conflict in `Recompiler.cpp`, resolved deliberately: this PR ran the post-masked-select cleanup (fold + identity resolution) unconditionally, while main has since landed the same cleanup gated on a live `PackedAncillary` builtin. I kept **main's gated version** — it subsumes this PR's case (the gate only skips the passes when no live ancillary exists, and this PR's concern is precisely the ancillary one), so the proofs this PR needs are preserved while avoiding the unconditional cost. If you intended the cleanup for non-ancillary cases too, say so and I'll re-push with the unconditional form. Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, `BUILD_TESTING=ON`, AMD RX 9070 XT / RADV): - builds; `tools/check_conventions.py --base origin/main` passes - **full suite: 958/958 passed** **To pick it up:** ``` git fetch https://github.com/blawesom/AnyPS5 rebase/4271 git checkout <your branch> git merge --ff-only FETCH_HEAD ``` Head is `e002a41a0`.
oneandonlydean commented 2026-10-13 02:42:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:42:59Z.


Could you measure the process commit of a title at the same point, main against main plus this PR alone? The description counts the IR values released and says itself that no reduction in process memory was measured; a perf( PR needs that number.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6137038216 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6137038216). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T02:42:59Z. --- Could you measure the process commit of a title at the same point, `main` against `main` plus this PR alone? The description counts the IR values released and says itself that no reduction in process memory was measured; a `perf(` PR needs that number.
eljackjoestar-cmd commented 2026-10-13 07:43:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by eljackjoestar-cmd on 2026-10-13T07:43:44Z.


Measured current main against main plus this PR alone after rebasing onto c2565f014. The earlier implementation increased commit by 258.63 MiB in the separate local title-screen matrix, so I revised it: SSA construction tables are now lazy and released after preparation, and immediate compilation avoids the unnecessary reclamation pass.

Intro frame >=600, process commit Run 1 MiB Run 2 MiB Mean MiB
main 11881.17 11888.80 11884.99
main + revised #4271 11549.04 11540.39 11544.72

The isolated reduction is 340.27 MiB (2.86%). Same executable, game/configuration and machine; no other PRs are applied. Disk cache is disabled, preparation is synchronous, and file-backed SPIR-V is absent in both. The process is suspended at the first observed frame >=600 (actual frames 600-605) before reading PrivateMemorySize64.

Clean main stops later on an unsupported mipmapped/DCC 3D color target. Separately, the local build that reaches the title, with its other fixes retained, measured 9866.36 MiB without this PR versus 9563.39/9520.43 MiB with the revised implementation: 324.45 MiB (3.29%) lower. These title readings are medians 10-15 seconds after start-label detection, and are not presented as main plus this PR alone.

Raw traces, settings, individual readings and calculation details. Full Windows Release build and all ten focused tests pass; the captured title shader remains byte-identical to main. The PR description now includes the measured process-commit results.

The new scheduling hunk conflicts with #4883 only in Recompiler.cpp in a pairwise merge simulation. I propose #4271 first, then #4883 preserving the reclamation argument on its resource-plan cache-miss path. Does that order work? #4884 merges cleanly in the simulation; no combined build/runtime result is claimed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140799594 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6140799594). Originally posted by [eljackjoestar-cmd](https://github.com/eljackjoestar-cmd) on 2026-10-13T07:43:44Z. --- Measured current main against main plus this PR alone after rebasing onto `c2565f014`. The earlier implementation increased commit by 258.63 MiB in the separate local title-screen matrix, so I revised it: SSA construction tables are now lazy and released after preparation, and immediate compilation avoids the unnecessary reclamation pass. | Intro frame >=600, process commit | Run 1 MiB | Run 2 MiB | Mean MiB | |---|---:|---:|---:| | main | 11881.17 | 11888.80 | 11884.99 | | main + revised #4271 | 11549.04 | 11540.39 | 11544.72 | The isolated reduction is **340.27 MiB (2.86%)**. Same executable, game/configuration and machine; no other PRs are applied. Disk cache is disabled, preparation is synchronous, and file-backed SPIR-V is absent in both. The process is suspended at the first observed frame >=600 (actual frames 600-605) before reading `PrivateMemorySize64`. Clean main stops later on an unsupported mipmapped/DCC 3D color target. Separately, the local build that reaches the title, with its other fixes retained, measured 9866.36 MiB without this PR versus 9563.39/9520.43 MiB with the revised implementation: **324.45 MiB (3.29%)** lower. These title readings are medians 10-15 seconds after start-label detection, and are not presented as main plus this PR alone. [Raw traces, settings, individual readings and calculation details](https://gist.github.com/eljackjoestar-cmd/b5fd02e3f1283b0e7f6a7368d7c6cb73). Full Windows Release build and all ten focused tests pass; the captured title shader remains byte-identical to main. The PR description now includes the measured process-commit results. The new scheduling hunk conflicts with #4883 only in `Recompiler.cpp` in a pairwise merge simulation. I propose #4271 first, then #4883 preserving the reclamation argument on its resource-plan cache-miss path. Does that order work? #4884 merges cleanly in the simulation; no combined build/runtime result is claimed.
github-actions[bot] commented 2026-10-13 07:46:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T07:46:16Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
#4250 core/libs/prx/libSceAgcDriver/CMakeLists.txt L1181
#4883 core/shader/recompiler/Recompiler.cpp L346-347, L390-396
#4932 core/libs/prx/libSceAgcDriver/CMakeLists.txt L1181
#4964 core/libs/prx/libSceAgcDriver/CMakeLists.txt L1181
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140841498 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6140841498). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T07:46:16Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #4250 | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L1181](https://github.com/boykopovar/AnyPS5/blob/759c66564f0890541ca0e59afd89ed686ed64ec9/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L1181) | | | | #4883 | `core/shader/recompiler/Recompiler.cpp` [L346-347](https://github.com/boykopovar/AnyPS5/blob/759c66564f0890541ca0e59afd89ed686ed64ec9/core/shader/recompiler/Recompiler.cpp#L346-L347), [L390-396](https://github.com/boykopovar/AnyPS5/blob/759c66564f0890541ca0e59afd89ed686ed64ec9/core/shader/recompiler/Recompiler.cpp#L390-L396) | | | | #4932 | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L1181](https://github.com/boykopovar/AnyPS5/blob/759c66564f0890541ca0e59afd89ed686ed64ec9/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L1181) | | | | #4964 | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L1181](https://github.com/boykopovar/AnyPS5/blob/759c66564f0890541ca0e59afd89ed686ed64ec9/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L1181) | | |
eljackjoestar-cmd commented 2026-10-13 08:09:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by eljackjoestar-cmd on 2026-10-13T08:09:32Z.


Rebased again onto main fc1f063f5 after it advanced. git range-diff confirms the allocation/reclamation patch is unchanged. Full Windows Release build and all ten focused regressions pass again without skips (2.19 s); conventions and whitespace checks pass. The published process-commit measurements remain explicitly pinned to c2565f014/d317aa64d, where they were captured; this rebase is not presented as a new memory measurement.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6141207635 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6141207635). Originally posted by [eljackjoestar-cmd](https://github.com/eljackjoestar-cmd) on 2026-10-13T08:09:32Z. --- Rebased again onto main `fc1f063f5` after it advanced. `git range-diff` confirms the allocation/reclamation patch is unchanged. Full Windows Release build and all ten focused regressions pass again without skips (2.19 s); conventions and whitespace checks pass. The published process-commit measurements remain explicitly pinned to `c2565f014`/`d317aa64d`, where they were captured; this rebase is not presented as a new memory measurement.
adriadam10 commented 2026-10-13 14:04:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T14:04:45Z.


Thanks for the measurement. Checked: agc_ir_reclaim passes and fails to build without the change; the rest of the libSceAgc/libSceAgcDriver ctest scope is unaffected by it.

Added one commit on your branch:

  • docs/dev/debt/shader.md: the PR re-encoded two existing lines (the v_rcp, v_rsq, ... and FP16_OVFL entries), turning π into Ï€ and ± into ±. Restored the UTF-8 characters so the diff only adds your entry.

Merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6147371977 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4271#issuecomment-6147371977). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-13T14:04:45Z. --- Thanks for the measurement. Checked: `agc_ir_reclaim` passes and fails to build without the change; the rest of the libSceAgc/libSceAgcDriver ctest scope is unaffected by it. Added one commit on your branch: - `docs/dev/debt/shader.md`: the PR re-encoded two existing lines (the `v_rcp, v_rsq, ...` and `FP16_OVFL` entries), turning `π` into `Ï€` and `±` into `±`. Restored the UTF-8 characters so the diff only adds your entry. Merging once the full Build is green.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4271
No description provided.