fix(agc): cap the storage-image cache by entry count #14220

Merged
EagleBearerYS merged 7 commits from upstream-pr/14220 into main 2026-11-06 16:51:01 +00:00
EagleBearerYS commented 2026-11-01 00:42:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-11-01T00:42:00Z.


What

The storage-image cache (cachedStorageTexture in ShaderResources.cpp) is bounded by bytes only. Its byte budget follows the device's reported memory budget, so small surfaces created at new addresses never reach it. Each stays cached and alive with its Vulkan objects, sampled view and CPU memory, none of which the byte count sees.

The cache now also evicts its least recently used surface once it holds APS5_STORAGE_CACHE_ENTRIES entries (default 2048; 0 turns the limit off, and unset keeps 2048). Eviction goes through evictStorage as before: pending results are flushed first and the sampled views over the image are dropped. The variable is documented in docs/dev/ENVIRONMENT.md, and the cap has an entry in the AGC debt file.

Counters. With APS5_PROFILE_DRAW=1, the [storage] profile line now also lists evictions by reason, with the MiB each reason's evictions wrote back. entry cap counts this cap's evictions, and every other StorageTexture::Flush (the byte budget, cache clears and the other evictions) keeps the cache eviction label it had on main. An entry evicted with nothing pending counts at 0 MiB, so the MiB figure is write-back traffic, not the size of what was evicted. On macOS, an entry-cap eviction's trapped-overlap stores also count under entry cap; that path is macOS-only and isn't run on GitHub's runners.

Commits since 55d3875c32: 06ae2f4b58 lets 0 turn the limit off. d285e5feca merges main e0caf13600, whose #13678 changed the first line of StorageTexture::Flush, so that d2cad15101, which adds the counters, applies to main's Flush.

Where the growth was seen. On a Planet of Lana (PPSA19450) build of a local tree, stack/lana ae134a7ec, which is not main, the live StorageTexture count rose from 698 to 1,017 in 5.5 minutes of gameplay, about 50 a minute. It was not measured on main, and the cap has not been run in game. 2048 is a choice, not a measured value.

Overlaps.

  • #6194 changes how the storage cache's byte budget grows while it evicts under pressure. This PR bounds the entry count, so the two change different inputs of the same eviction loop. #6194 already conflicts with main in ShaderResources.cpp, ShaderResources.hpp and the debt file. The merge order proposed on #6194 (comment) is this PR first, with #6194's rebase keeping the entry-count term in the loop's condition.
  • #14219 (hamb3r) shares the storage budget calculation with memory reports. It changes storageBudget's body and the budget helpers, not the eviction loop or the entry count, so the two don't conflict: they change different functions and merge cleanly in either order.
  • #12786 also edits the AGC debt file; the only conflict between it and this PR is in that file, and keeping both entries resolves it.
  • #10043 and #12478 name APS5_STORAGE_CACHE_ENTRIES=1024 as a run switch in their texts. The variable is not on main, and this PR adds it.

Tested

New tests:

  • agc_driver_storage_cache_entries stores six small surfaces under a limit of 4 entries and a 1024 MiB byte budget. It checks that the two least recently used are evicted and their images released, and that the other four stay cached.
  • agc_driver_storage_cache_entries_unlimited stores the same six with APS5_STORAGE_CACHE_ENTRIES=0 and requires all six to stay cached. It can't go red on the old code, which read 0 as 2048.
  • agc_driver_storage_cache_entries_profile leaves six 1 MiB surfaces pending under the limit of 4, with APS5_PROFILE_DRAW=1, and requires the [storage] line to show entry cap 2/ in both the write-backs and the evictions.

GitHub's runners (https://github.com/EagleBearerYS/AnyPS5/actions/runs/41252017132, commit 55d3875c32 on main 381891927c, ^agc_driver_storage_cache, 10 repeats, "before" is main's implementation with the new test):

  • Linux (Ubuntu 24.04, lavapipe):
    • Before: agc_driver_storage_cache_entries fails.
    • After: 3 of 3 pass over 10 runs, 0 skipped.
    • Suites: libc 199 run, libkernel 308 run, 0 failed.
  • Windows: the code builds, and the 3 storage-cache tests skip (77) because GitHub's Windows runner has no Vulkan device, so the new test does not run there and shows no red there. Suites: libc 226 run, libkernel 330 run, 0 failed. Not run on a Windows GPU.

Validation layers at 55d3875c32 (https://github.com/EagleBearerYS/AnyPS5/actions/runs/41252017908, Linux, VK_LAYER_KHRONOS_validation inserted on main and the fix, agc_driver_storage_cache_entries|agc_driver_storage_cache_budget, 3 repeats): both pass, and the fix adds no VUID. VUID-VkDeviceCreateInfo-pNext-pNext is in both logs. On main only agc_driver_storage_cache_budget ran, because the new test is not in main's tree; this run is not a red/green arm.

AMD Radeon RX 9060 XT (RADV GFX1200), Mesa 26.2.5, CachyOS Linux, in RNK123's run (comment): 55d3875c32 merged onto main 9335acf79d, Release, with VK_LAYER_KHRONOS_validation inserted in every test process.

  • With only this head's two test files on main's code, agc_driver_storage_cache_entries fails 3 of 3 ("surface 0 is still cached after 6 small surfaces under a limit of 4 entries and a 1024 MiB budget"). With the change it passes 3 of 3.
  • agc_driver_storage_cache_budget and agc_driver_storage_cache_retained_batch pass 3 of 3 both ways.
  • No skips and no VUID- in either tree. The test checks the cache's entries and their images' release, not when the VRAM is physically freed.

NVIDIA RTX 2000 Ada Generation, driver 595.99.02, Ubuntu 26.04.1, from TechLevelZero's NVIDIA bot (report): 55d3875c32 merged onto main 3741ca9, 2,522 of 3,121 tests selected.

  • 2,473 passed, 5 failed and 44 skipped. None of the failures is new: 3 also fail on main, and 2 are unstable on main.
  • With VK_LAYER_KHRONOS_validation, over 930 tests on the GPU, there are no new validation IDs against main.

GitHub's runners at d2cad15101 (run, on main e0caf13600, ^agc_driver_storage_cache, 10 repeats, "before" is main's implementation with the new tests):

  • Linux (lavapipe): before, agc_driver_storage_cache_entries and agc_driver_storage_cache_entries_profile fail. After, 5 run, 5 pass, 0 skipped, 0 failed. Suites: libc 208 run, libkernel 309 run, 0 failed.
  • Windows: 5 run, 0 pass, 5 skipped (77, no Vulkan device on GitHub's Windows runner), 0 failed. Suites: libc 235 run, libkernel 330 run, 0 failed.
  • The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.

Validation layers at d2cad15101 (run, GitHub's Linux runner, VK_LAYER_KHRONOS_validation, main e0caf13600 against the change, ^agc_driver_storage_cache): all 5 pass with the layer, and the change adds no VUID: both logs report only VUID-VkDeviceCreateInfo-pNext-pNext. The layer was inserted 2 times on main, which has only the two older storage-cache tests, and 5 times with the change; neither log says "was not found".

Not tested: in game with the fix, a long session with the counters, on Windows with a GPU, on main with the Lana workload.

  • d5152eeb7c, a merge of main 4f41f4c375 (run).
    • The conflict: docs/dev/debt/libSceAgcDriver.md, where this PR's storage-image cache entry and main's new entries are adjacent. The resolution keeps both, and this PR's own lines are unchanged.
    • ×10: every test matching ^agc_driver_storage_cache or ^agc_storage_shadow, which takes in this PR's two tests. Linux: 5 run, 5 pass, 0 skip, 0 fail. Windows: 5 run, 0 pass, 5 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 300 and 322 tests on Linux and 327 and 342 on Windows, with 0 failed. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 530ca15048, a merge of main 1c8c0efc8c, which brings PrivacyOnion's #14868 (×10, every agc test).
    • The conflicts, in Texture.hpp, ShaderResources.cpp and Texture.cpp, all with #14868. #14868 lets evictStorage detach an image instead of storing it (a store flag and StorageTexture::Detach()), and makes Flush first flush the sources an image adopted. Both PRs' changes stay:
      • evictStorage(cache, it, bool store = true, const char* reason = "cache eviction"): #14868's store flag first, then this PR's reason. With store, it calls Flush(reason); without, Detach(). #14868's caller, which passes false, is unchanged, and this PR's entry-cap caller now passes true before its reason.
      • Flush(const char* reason) runs #14868's flush of the adopted sources first, then this PR's storeTrappedOverlaps(reason) and countStorageEviction(reason).
      • Texture.hpp declares both Flush(const char* reason = "cache eviction") and Detach().
    • An image #14868 detaches is not flushed at its eviction, so it counts under cache eviction only if a later Flush stores it. Apart from the caller line, this PR's diff over main is unchanged.
    • ×10: every test matching ^agc_driver_storage_cache or ^agc_storage, with agc_driver_recorder (the whole recorder run, which takes in #14868's changed cases). Linux: 23 run, 22 pass, 1 skip (agc_storage_clear_hand_over), 0 fail. Windows: 24 run, 0 pass, 24 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 300 and 324 tests on Linux and 330 and 342 on Windows, with 0 failed. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
    • Every agc test, once: Linux: 1,296 run, 1,210 pass, 85 skip, 1 fail. Windows: 1,333 run, 400 pass, 933 skip (no Vulkan device), 0 fail. The one failure is agc_driver_pipeline_journal's 120-second timeout (764/1296 Test #1393: agc_driver_pipeline_journal ***Timeout 120.06 sec). It is main's own cold run, near the limit: main 086c0686c8 times out the same way under ctest -V (run). With a 300-second limit, under ctest -V, 5 runs each, alone on GitHub's Linux runner, both pass 5 of 5:
      agc_driver_pipeline_journal First (cold) run Warm runs Warm median "recorded batch still running" lines
      This merge, 530ca15048 (run) 135.2 s 50.7, 49.5, 49.7, 49.9 s 49.8 s 14
      main 1c8c0efc8c (run) 156.8 s 60.2, 60.8, 60.7, 60.9 s 60.8 s 17
  • 9efdd61615, a merge of main acf7ac208a, which brings nikhilpanchal1's #10472, the suballocation of sampled and storage image memory (×10).
    • The conflict: one, in tests/cmake/agc_driver_storage_cache_budget_tests.cmake. #10472 sets APS5_NO_IMAGE_SLABS=1 on agc_driver_storage_cache_budget and adds agc_driver_storage_cache_budget_slabs right after its TIMEOUT line, which this PR extends to agc_driver_storage_cache_entries. The merge keeps this PR's TIMEOUT line and #10472's lines after it. This PR's diff over main is unchanged.
    • This PR's agc_driver_storage_cache_entries tests now run with #10472's slabs on, main's default. They cap and count entries, not bytes, so they take no slab opt-out.
    • ×10: agc_driver_recorder and every test matching ^agc_driver_storage_cache, ^agc_storage, ^agc_image_memory or ^agc_driver_image_memory, which takes in #10472's image-memory tests. Linux: 35 run, 34 pass, 1 skip (agc_storage_clear_hand_over), 0 fail. Windows: 36 run, 3 pass, 33 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 301 and 325 tests on Linux and 331 and 343 on Windows, with 0 failed. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none (merge order with #6194: this PR first, as proposed on #6194)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: llvmpipe (LLVM 20.1.2, Mesa 25.2.8) on Ubuntu 24.04 (GitHub's Linux runner); AMD Radeon RX 9060 XT (RADV GFX1200, Mesa 26.2.5, CachyOS Linux; RNK123's run); NVIDIA RTX 2000 Ada Generation (driver 595.99.02, Ubuntu 26.04.1; TechLevelZero's NVIDIA bot)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5103003736 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14220). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-11-01T00:42:00Z. --- ### What The storage-image cache (`cachedStorageTexture` in `ShaderResources.cpp`) is bounded by bytes only. Its byte budget follows the device's reported memory budget, so small surfaces created at new addresses never reach it. Each stays cached and alive with its Vulkan objects, sampled view and CPU memory, none of which the byte count sees. The cache now also evicts its least recently used surface once it holds `APS5_STORAGE_CACHE_ENTRIES` entries (default 2048; `0` turns the limit off, and unset keeps 2048). Eviction goes through `evictStorage` as before: pending results are flushed first and the sampled views over the image are dropped. The variable is documented in `docs/dev/ENVIRONMENT.md`, and the cap has an entry in the AGC debt file. **Counters.** With `APS5_PROFILE_DRAW=1`, the `[storage]` profile line now also lists evictions by reason, with the MiB each reason's evictions wrote back. `entry cap` counts this cap's evictions, and every other `StorageTexture::Flush` (the byte budget, cache clears and the other evictions) keeps the `cache eviction` label it had on `main`. An entry evicted with nothing pending counts at 0 MiB, so the MiB figure is write-back traffic, not the size of what was evicted. On macOS, an entry-cap eviction's trapped-overlap stores also count under `entry cap`; that path is macOS-only and isn't run on GitHub's runners. **Commits since 55d3875c32:** 06ae2f4b58 lets `0` turn the limit off. d285e5feca merges `main` e0caf13600, whose #13678 changed the first line of `StorageTexture::Flush`, so that d2cad15101, which adds the counters, applies to `main`'s `Flush`. **Where the growth was seen.** On a Planet of Lana (PPSA19450) build of a local tree, `stack/lana` ae134a7ec, which is not main, the live `StorageTexture` count rose from 698 to 1,017 in 5.5 minutes of gameplay, about 50 a minute. It was not measured on main, and the cap has not been run in game. 2048 is a choice, not a measured value. **Overlaps.** - #6194 changes how the storage cache's byte budget grows while it evicts under pressure. This PR bounds the entry count, so the two change different inputs of the same eviction loop. #6194 already conflicts with main in `ShaderResources.cpp`, `ShaderResources.hpp` and the debt file. The merge order proposed on #6194 ([comment](https://github.com/boykopovar/AnyPS5/pull/6194#issuecomment-6551719149)) is this PR first, with #6194's rebase keeping the entry-count term in the loop's condition. - #14219 (hamb3r) shares the storage budget calculation with memory reports. It changes `storageBudget`'s body and the budget helpers, not the eviction loop or the entry count, so the two don't conflict: they change different functions and merge cleanly in either order. - #12786 also edits the AGC debt file; the only conflict between it and this PR is in that file, and keeping both entries resolves it. - #10043 and #12478 name `APS5_STORAGE_CACHE_ENTRIES=1024` as a run switch in their texts. The variable is not on main, and this PR adds it. ### Tested **New tests:** - `agc_driver_storage_cache_entries` stores six small surfaces under a limit of 4 entries and a 1024 MiB byte budget. It checks that the two least recently used are evicted and their images released, and that the other four stay cached. - `agc_driver_storage_cache_entries_unlimited` stores the same six with `APS5_STORAGE_CACHE_ENTRIES=0` and requires all six to stay cached. It can't go red on the old code, which read `0` as 2048. - `agc_driver_storage_cache_entries_profile` leaves six 1 MiB surfaces pending under the limit of 4, with `APS5_PROFILE_DRAW=1`, and requires the `[storage]` line to show `entry cap 2/` in both the write-backs and the evictions. **GitHub's runners** (https://github.com/EagleBearerYS/AnyPS5/actions/runs/41252017132, commit 55d3875c32 on main 381891927c, `^agc_driver_storage_cache`, 10 repeats, "before" is main's implementation with the new test): - **Linux** (Ubuntu 24.04, lavapipe): - Before: `agc_driver_storage_cache_entries` fails. - After: 3 of 3 pass over 10 runs, 0 skipped. - Suites: libc 199 run, libkernel 308 run, 0 failed. - **Windows:** the code builds, and the 3 storage-cache tests skip (77) because GitHub's Windows runner has no Vulkan device, so the new test does not run there and shows no red there. Suites: libc 226 run, libkernel 330 run, 0 failed. **Not run on a Windows GPU.** **Validation layers at 55d3875c32** (https://github.com/EagleBearerYS/AnyPS5/actions/runs/41252017908, Linux, `VK_LAYER_KHRONOS_validation` inserted on main and the fix, `agc_driver_storage_cache_entries|agc_driver_storage_cache_budget`, 3 repeats): both pass, and the fix adds no VUID. `VUID-VkDeviceCreateInfo-pNext-pNext` is in both logs. On main only `agc_driver_storage_cache_budget` ran, because the new test is not in main's tree; this run is not a red/green arm. **AMD Radeon RX 9060 XT (RADV GFX1200), Mesa 26.2.5, CachyOS Linux, in RNK123's run** ([comment](https://github.com/boykopovar/AnyPS5/pull/14220#issuecomment-6553374613)): 55d3875c32 merged onto `main` 9335acf79d, Release, with `VK_LAYER_KHRONOS_validation` inserted in every test process. - With only this head's two test files on `main`'s code, `agc_driver_storage_cache_entries` fails 3 of 3 ("surface 0 is still cached after 6 small surfaces under a limit of 4 entries and a 1024 MiB budget"). With the change it passes 3 of 3. - `agc_driver_storage_cache_budget` and `agc_driver_storage_cache_retained_batch` pass 3 of 3 both ways. - No skips and no `VUID-` in either tree. The test checks the cache's entries and their images' release, not when the VRAM is physically freed. **NVIDIA RTX 2000 Ada Generation, driver 595.99.02, Ubuntu 26.04.1, from TechLevelZero's NVIDIA bot** ([report](https://github.com/boykopovar/AnyPS5/pull/14220#issuecomment-6554836410)): 55d3875c32 merged onto `main` 3741ca9, 2,522 of 3,121 tests selected. - 2,473 passed, 5 failed and 44 skipped. None of the failures is new: 3 also fail on `main`, and 2 are unstable on `main`. - With `VK_LAYER_KHRONOS_validation`, over 930 tests on the GPU, there are no new validation IDs against `main`. **GitHub's runners at d2cad15101** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41344820719), on `main` e0caf13600, `^agc_driver_storage_cache`, 10 repeats, "before" is `main`'s implementation with the new tests): - **Linux** (lavapipe): before, `agc_driver_storage_cache_entries` and `agc_driver_storage_cache_entries_profile` fail. After, 5 run, 5 pass, 0 skipped, 0 failed. Suites: libc 208 run, libkernel 309 run, 0 failed. - **Windows:** 5 run, 0 pass, 5 skipped (77, no Vulkan device on GitHub's Windows runner), 0 failed. Suites: libc 235 run, libkernel 330 run, 0 failed. - The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. **Validation layers at d2cad15101** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41354052171), GitHub's Linux runner, `VK_LAYER_KHRONOS_validation`, `main` e0caf13600 against the change, `^agc_driver_storage_cache`): all 5 pass with the layer, and the change adds no VUID: both logs report only `VUID-VkDeviceCreateInfo-pNext-pNext`. The layer was inserted 2 times on `main`, which has only the two older storage-cache tests, and 5 times with the change; neither log says "was not found". **Not tested:** in game with the fix, a long session with the counters, on Windows with a GPU, on main with the Lana workload. - **d5152eeb7c, a merge of `main` 4f41f4c375** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41611824683)). - **The conflict:** `docs/dev/debt/libSceAgcDriver.md`, where this PR's storage-image cache entry and `main`'s new entries are adjacent. The resolution keeps both, and this PR's own lines are unchanged. - **×10:** every test matching `^agc_driver_storage_cache` or `^agc_storage_shadow`, which takes in this PR's two tests. Linux: 5 run, 5 pass, 0 skip, 0 fail. Windows: 5 run, 0 pass, 5 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 300 and 322 tests on Linux and 327 and 342 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **530ca15048, a merge of `main` 1c8c0efc8c,** which brings PrivacyOnion's #14868 ([×10](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41732428789), [every `agc` test](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41732302052)). - **The conflicts,** in `Texture.hpp`, `ShaderResources.cpp` and `Texture.cpp`, all with #14868. #14868 lets `evictStorage` detach an image instead of storing it (a `store` flag and `StorageTexture::Detach()`), and makes `Flush` first flush the sources an image adopted. Both PRs' changes stay: - `evictStorage(cache, it, bool store = true, const char* reason = "cache eviction")`: #14868's `store` flag first, then this PR's reason. With `store`, it calls `Flush(reason)`; without, `Detach()`. #14868's caller, which passes `false`, is unchanged, and this PR's entry-cap caller now passes `true` before its reason. - `Flush(const char* reason)` runs #14868's flush of the adopted sources first, then this PR's `storeTrappedOverlaps(reason)` and `countStorageEviction(reason)`. - `Texture.hpp` declares both `Flush(const char* reason = "cache eviction")` and `Detach()`. - An image #14868 detaches is not flushed at its eviction, so it counts under `cache eviction` only if a later `Flush` stores it. Apart from the caller line, this PR's diff over `main` is unchanged. - **×10:** every test matching `^agc_driver_storage_cache` or `^agc_storage`, with `agc_driver_recorder` (the whole recorder run, which takes in #14868's changed cases). Linux: 23 run, 22 pass, 1 skip (`agc_storage_clear_hand_over`), 0 fail. Windows: 24 run, 0 pass, 24 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 300 and 324 tests on Linux and 330 and 342 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **Every `agc` test, once:** Linux: 1,296 run, 1,210 pass, 85 skip, 1 fail. Windows: 1,333 run, 400 pass, 933 skip (no Vulkan device), 0 fail. The one failure is `agc_driver_pipeline_journal`'s 120-second timeout (`764/1296 Test #1393: agc_driver_pipeline_journal ***Timeout 120.06 sec`). It is `main`'s own cold run, near the limit: `main` 086c0686c8 times out the same way under `ctest -V` ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41736700046)). With a 300-second limit, under `ctest -V`, 5 runs each, alone on GitHub's Linux runner, both pass 5 of 5: | `agc_driver_pipeline_journal` | First (cold) run | Warm runs | Warm median | "recorded batch still running" lines | |---|---|---|---|---| | This merge, 530ca15048 ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41744325347)) | 135.2 s | 50.7, 49.5, 49.7, 49.9 s | 49.8 s | 14 | | `main` 1c8c0efc8c ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41744255264)) | 156.8 s | 60.2, 60.8, 60.7, 60.9 s | 60.8 s | 17 | - **9efdd61615, a merge of `main` acf7ac208a,** which brings nikhilpanchal1's #10472, the suballocation of sampled and storage image memory ([×10](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41777788564)). - **The conflict:** one, in `tests/cmake/agc_driver_storage_cache_budget_tests.cmake`. #10472 sets `APS5_NO_IMAGE_SLABS=1` on `agc_driver_storage_cache_budget` and adds `agc_driver_storage_cache_budget_slabs` right after its `TIMEOUT` line, which this PR extends to `agc_driver_storage_cache_entries`. The merge keeps this PR's `TIMEOUT` line and #10472's lines after it. This PR's diff over `main` is unchanged. - This PR's `agc_driver_storage_cache_entries` tests now run with #10472's slabs on, `main`'s default. They cap and count entries, not bytes, so they take no slab opt-out. - **×10:** `agc_driver_recorder` and every test matching `^agc_driver_storage_cache`, `^agc_storage`, `^agc_image_memory` or `^agc_driver_image_memory`, which takes in #10472's image-memory tests. Linux: 35 run, 34 pass, 1 skip (`agc_storage_clear_hand_over`), 0 fail. Windows: 36 run, 3 pass, 33 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 301 and 325 tests on Linux and 331 and 343 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none (merge order with #6194: this PR first, as proposed on #6194) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: llvmpipe (LLVM 20.1.2, Mesa 25.2.8) on Ubuntu 24.04 (GitHub's Linux runner); AMD Radeon RX 9060 XT (RADV GFX1200, Mesa 26.2.5, CachyOS Linux; RNK123's run); NVIDIA RTX 2000 Ada Generation (driver 595.99.02, Ubuntu 26.04.1; TechLevelZero's NVIDIA bot) - [x] AI-assisted: yes
MarcZX10 commented 2026-11-01 01:17:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T01:17:47Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The unresolved overlap with #6194 conflicts in shared implementation files, but the PR does not declare an agreed landing order.

What I ran

Reviewed PR head 55d3875c32c747a16eb63cd4b5776e21ae30c17a against base cae3edaf11db8c6c1694c2d772d07c079755a71f; the PR's merge base is 381891927c2b3ff494a9853cb79fde8d5342b92d. Environment: Debian 12 x86_64, Python 3.11.2, GCC 12.2.0. The preview onto current main merged cleanly. The pairwise preview against open #6194 produced conflicts. I did not build locally.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14220
git diff --check 381891927c2b3ff494a9853cb79fde8d5342b92d...55d3875c32c747a16eb63cd4b5776e21ae30c17a
git merge-tree --write-tree upstream/main refs/anyps5/review/14220
git merge-tree --write-tree --name-only refs/anyps5/review/14220 refs/anyps5/review/6194
gh pr checks 14220 --repo boykopovar/AnyPS5

Results

Check Result
Diff check Passed.
Conventions and PR template Passed locally and in hosted CI.
Current-main merge preview Passed; tree 354bb1b4dc3beb518e0b314c7e96e5c4fe15112a.
Pairwise preview with #6194 Conflicts in ShaderResources.hpp, ShaderResources.cpp, and docs/dev/debt/libSceAgcDriver.md.
Hosted CI Conventions, intake, labels, library-portability, report, eligibility and Windows passed; Linux and specialized jobs skipped. The Windows storage-cache tests skip because the runner has no Vulkan device, as the PR notes.
GPU tests and validation-layer comparison The PR reports Linux lavapipe and validation-layer runs on main and this head. I could not retrieve the linked Actions run records (HTTP 404), so I have not independently confirmed their logs.
Selected unedited output
354bb1b4dc3beb518e0b314c7e96e5c4fe15112a
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md
windows	pass	11m10s	https://github.com/boykopovar/AnyPS5/actions/runs/41257888580/job/124705972248
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41257888580/job/124705973412

Negative control

Assertion Baseline/change Result
New storage-cache test detects missing entry-count eviction The PR reports that its test fails on main and passes on the change, including repeated lavapipe runs. Author-reported; not independently reproduced because the linked run is unavailable and I did not build locally.

Findings

Blocking

The PR identifies #6194 as an open change to the same storage-cache eviction loop. The pairwise merge preview confirms conflicts in ShaderResources.hpp, ShaderResources.cpp, and the AGC debt file. The repository requires overlapping PR authors to agree which lands first and declare that order in Depends on; this PR currently says Depends on: none and the discussion does not record an agreed order. Please coordinate with the author of #6194 and update the checklist to reflect the agreed order before this stack proceeds.

Non-blocking

The PR's proposed 2048-entry default is explicitly documented as a choice rather than a measured threshold and can be overridden by APS5_STORAGE_CACHE_ENTRIES. The new test checks LRU eviction and image release with six surfaces under a limit of four.

Sources

Not verified

No local build, CTest, or GPU run. The author-reported lavapipe and validation-layer outputs were not independently checked because the linked Actions records returned HTTP 404. Windows CI skipped the Vulkan tests.

To get this to a good state

Agree with the author of #6194 which PR lands first and record the agreed dependency/order in the checklist. I will rerun the pairwise preview on the updated heads.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5725853146 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14220#pullrequestreview-5725853146). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T01:17:47Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The unresolved overlap with #6194 conflicts in shared implementation files, but the PR does not declare an agreed landing order. ## What I ran Reviewed PR head `55d3875c32c747a16eb63cd4b5776e21ae30c17a` against base `cae3edaf11db8c6c1694c2d772d07c079755a71f`; the PR's merge base is `381891927c2b3ff494a9853cb79fde8d5342b92d`. Environment: Debian 12 x86_64, Python 3.11.2, GCC 12.2.0. The preview onto current `main` merged cleanly. The pairwise preview against open #6194 produced conflicts. I did not build locally. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14220 git diff --check 381891927c2b3ff494a9853cb79fde8d5342b92d...55d3875c32c747a16eb63cd4b5776e21ae30c17a git merge-tree --write-tree upstream/main refs/anyps5/review/14220 git merge-tree --write-tree --name-only refs/anyps5/review/14220 refs/anyps5/review/6194 gh pr checks 14220 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | Diff check | Passed. | | Conventions and PR template | Passed locally and in hosted CI. | | Current-main merge preview | Passed; tree `354bb1b4dc3beb518e0b314c7e96e5c4fe15112a`. | | Pairwise preview with #6194 | Conflicts in `ShaderResources.hpp`, `ShaderResources.cpp`, and `docs/dev/debt/libSceAgcDriver.md`. | | Hosted CI | Conventions, intake, labels, library-portability, report, eligibility and Windows passed; Linux and specialized jobs skipped. The Windows storage-cache tests skip because the runner has no Vulkan device, as the PR notes. | | GPU tests and validation-layer comparison | The PR reports Linux lavapipe and validation-layer runs on main and this head. I could not retrieve the linked Actions run records (HTTP 404), so I have not independently confirmed their logs. | <details><summary>Selected unedited output</summary> ```text 354bb1b4dc3beb518e0b314c7e96e5c4fe15112a ``` ```text CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md ``` ```text windows pass 11m10s https://github.com/boykopovar/AnyPS5/actions/runs/41257888580/job/124705972248 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41257888580/job/124705973412 ``` </details> ## Negative control | Assertion | Baseline/change | Result | |---|---|---| | New storage-cache test detects missing entry-count eviction | The PR reports that its test fails on main and passes on the change, including repeated lavapipe runs. | Author-reported; not independently reproduced because the linked run is unavailable and I did not build locally. | ## Findings ### Blocking The PR identifies #6194 as an open change to the same storage-cache eviction loop. The pairwise merge preview confirms conflicts in `ShaderResources.hpp`, `ShaderResources.cpp`, and the AGC debt file. The repository requires overlapping PR authors to agree which lands first and declare that order in `Depends on`; this PR currently says `Depends on: none` and the discussion does not record an agreed order. Please coordinate with the author of #6194 and update the checklist to reflect the agreed order before this stack proceeds. ### Non-blocking The PR's proposed 2048-entry default is explicitly documented as a choice rather than a measured threshold and can be overridden by `APS5_STORAGE_CACHE_ENTRIES`. The new test checks LRU eviction and image release with six surfaces under a limit of four. ## Sources - [Repository overlap rule, pinned to PR base](https://github.com/boykopovar/AnyPS5/blob/cae3edaf11db8c6c1694c2d772d07c079755a71f/CONTRIBUTING.md#L70) - [#14220 implementation and test at reviewed head](https://github.com/boykopovar/AnyPS5/tree/55d3875c32c747a16eb63cd4b5776e21ae30c17a/core/libs/prx/libSceAgcDriver) - [Open overlapping #6194 head](https://github.com/boykopovar/AnyPS5/tree/8bb130068023741ae244df30c74ddef5bc386644/core/libs/prx/libSceAgcDriver) ## Not verified No local build, CTest, or GPU run. The author-reported lavapipe and validation-layer outputs were not independently checked because the linked Actions records returned HTTP 404. Windows CI skipped the Vulkan tests. ## To get this to a good state Agree with the author of #6194 which PR lands first and record the agreed dependency/order in the checklist. I will rerun the pairwise preview on the updated heads.
MarcZX10 commented 2026-11-01 03:36:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T03:36:18Z.

Review: CHANGES_REQUESTED


Re-checked — changes requested

The updated description records #14220-first as a proposed landing order, but #6194's author has not confirmed that order, so the overlap agreement is still outstanding.

What I ran

  • Rechecked PR head 55d3875c32c747a16eb63cd4b5776e21ae30c17a, based on cae3edaf11db8c6c1694c2d772d07c079755a71f.
  • The stack preview used main 6135e61f4538611fc82aeb69dbf73f36221b1aec; a later refresh saw main advance to 3741ca9327246d0df81638726a986cef862b6db5, so I do not claim the earlier preview is against that later tip.
  • Environment: Debian 12, Linux x86-64, Python 3.11.2; no compiler or C++ tests were run for this description-only update.
  • Commands:
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14220
python3 tools/pr_stack_check.py 14220 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-stack-14220-current
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=520f1ecd916f1c0f897d91bdcd7832c4e3b08bab --dependent 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a --dependent 6194=8bb130068023741ae244df30c74ddef5bc386644

Results

Check Result
Diff and repository conventions Passed on the exact PR head/base.
#14219 with #14220 Pairwise merge preview is clean at the exact heads listed above, supporting the description's claim that those changes compose.
#14220 before #6194 Pairwise preview conflicts in ShaderResources.hpp, ShaderResources.cpp, and docs/dev/debt/libSceAgcDriver.md; the proposed first/second order does not itself resolve those conflicts.
Current-main preview Clean at main 6135e61, but main advanced afterward; not verified against the later 3741ca9 tip.
Optional ABI/test-quality helpers Not available in the detached PR checkout; no public exports changed.
Hosted checks Windows, eligibility, conventions, portability, intake, labels, and report passed; Linux product and specialized jobs were skipped.
Build and tests Not run locally for this description update. The PR's earlier reported test results were not rerun.
Unedited pairwise merge-check output
Shared comparison base: 381891927c2b3ff494a9853cb79fde8d5342b92d.
Dependency ancestry: NOT REQUIRED — PR #14219 must land before PR #14220.
Pairwise merge preview: CLEAN — tree 324b08e20f0e0cb0e9fcd5c14231c12935ecc301.
Shared comparison base: ab9a4768407d862d1879d7d0ee66bd9c3d9d67a8.
Dependency ancestry: NOT REQUIRED — PR #14220 must land before PR #6194.
Pairwise merge preview: CONFLICT — overlapping changes need manual review.
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md

Findings

Blocking

The repo asks overlapping PR authors to agree which change lands first and record the order. The latest #6194 discussion contains EagleBearerYS's proposal to land #14220 first and hamb3r's separate request to land #14219 first, both explicitly awaiting confirmation from #6194's author, Thunderhawkk. I found no response confirming either sequence. The new checklist line records the proposal, but not agreement. Please get agreement from the affected author(s) and record the agreed order consistently in the overlapping PR descriptions; if this PR must wait for another one, reflect that in its Depends on line.

Non-blocking

The #14219/#14220 pairwise preview is clean. The #14220 preview against the main snapshot used by the precheck was also clean. No code changed since the earlier review.

Sources

Not verified

No build or C++ tests were run for this description-only update. The current-main merge preview was not rerun after main advanced from 6135e61 to 3741ca9.

To get this to a good state

Confirm the landing order with the authors of the overlapping PRs, record that agreement and any required dependency consistently, and refresh the branch when its turn is ready. I will recheck the current heads and order before another review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5726259281 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14220#pullrequestreview-5726259281). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T03:36:18Z. **Review:** CHANGES_REQUESTED --- # Re-checked — changes requested The updated description records #14220-first as a proposed landing order, but #6194's author has not confirmed that order, so the overlap agreement is still outstanding. ## What I ran - Rechecked PR head `55d3875c32c747a16eb63cd4b5776e21ae30c17a`, based on `cae3edaf11db8c6c1694c2d772d07c079755a71f`. - The stack preview used `main` `6135e61f4538611fc82aeb69dbf73f36221b1aec`; a later refresh saw `main` advance to `3741ca9327246d0df81638726a986cef862b6db5`, so I do not claim the earlier preview is against that later tip. - Environment: Debian 12, Linux x86-64, Python 3.11.2; no compiler or C++ tests were run for this description-only update. - Commands: ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14220 python3 tools/pr_stack_check.py 14220 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-stack-14220-current python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=520f1ecd916f1c0f897d91bdcd7832c4e3b08bab --dependent 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a --dependent 6194=8bb130068023741ae244df30c74ddef5bc386644 ``` ## Results | Check | Result | |---|---| | Diff and repository conventions | Passed on the exact PR head/base. | | #14219 with #14220 | Pairwise merge preview is clean at the exact heads listed above, supporting the description's claim that those changes compose. | | #14220 before #6194 | Pairwise preview conflicts in `ShaderResources.hpp`, `ShaderResources.cpp`, and `docs/dev/debt/libSceAgcDriver.md`; the proposed first/second order does not itself resolve those conflicts. | | Current-main preview | Clean at `main` `6135e61`, but `main` advanced afterward; not verified against the later `3741ca9` tip. | | Optional ABI/test-quality helpers | Not available in the detached PR checkout; no public exports changed. | | Hosted checks | Windows, eligibility, conventions, portability, intake, labels, and report passed; Linux product and specialized jobs were skipped. | | Build and tests | Not run locally for this description update. The PR's earlier reported test results were not rerun. | <details> <summary>Unedited pairwise merge-check output</summary> ```text Shared comparison base: 381891927c2b3ff494a9853cb79fde8d5342b92d. Dependency ancestry: NOT REQUIRED — PR #14219 must land before PR #14220. Pairwise merge preview: CLEAN — tree 324b08e20f0e0cb0e9fcd5c14231c12935ecc301. ``` ```text Shared comparison base: ab9a4768407d862d1879d7d0ee66bd9c3d9d67a8. Dependency ancestry: NOT REQUIRED — PR #14220 must land before PR #6194. Pairwise merge preview: CONFLICT — overlapping changes need manual review. CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md ``` </details> ## Findings ### Blocking The repo asks overlapping PR authors to agree which change lands first and record the order. The latest #6194 discussion contains EagleBearerYS's proposal to land #14220 first and hamb3r's separate request to land #14219 first, both explicitly awaiting confirmation from #6194's author, Thunderhawkk. I found no response confirming either sequence. The new checklist line records the proposal, but not agreement. Please get agreement from the affected author(s) and record the agreed order consistently in the overlapping PR descriptions; if this PR must wait for another one, reflect that in its `Depends on` line. ### Non-blocking The #14219/#14220 pairwise preview is clean. The #14220 preview against the `main` snapshot used by the precheck was also clean. No code changed since the earlier review. ## Sources - [Overlap-order rule at current `main`](https://github.com/boykopovar/AnyPS5/blob/3741ca9327246d0df81638726a986cef862b6db5/CONTRIBUTING.md#L70) - [#14220's proposed order on #6194](https://github.com/boykopovar/AnyPS5/pull/6194#issuecomment-6551719149) - [#14219's request for its order with #6194, still awaiting confirmation](https://github.com/boykopovar/AnyPS5/pull/6194#issuecomment-6552207004) - [Updated overlap description at #14220's reviewed head](https://github.com/boykopovar/AnyPS5/blob/55d3875c32c747a16eb63cd4b5776e21ae30c17a/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp) ## Not verified No build or C++ tests were run for this description-only update. The current-main merge preview was not rerun after `main` advanced from `6135e61` to `3741ca9`. ## To get this to a good state Confirm the landing order with the authors of the overlapping PRs, record that agreement and any required dependency consistently, and refresh the branch when its turn is ready. I will recheck the current heads and order before another review.
CnRJay commented 2026-11-01 19:42:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:42:46Z.

Review: COMMENTED


A cap on live StorageTexture objects is reasonable, since each one pins Vulkan objects and CPU memory the byte budget cannot see. The number and the eviction cost are not supported yet.

1. 2048 is a choice, and the working set is not shown to sit below it. The only data is one title's count on a local tree rising from 698 to 1,017 in 5.5 minutes, about 50 per minute, not on main, and the cap was not run in game. At that rate the cap is reached after about 20 more minutes, and from then on every new surface evicts another. Please run a long session and report how often the cap fires and what it evicts.

2. Eviction is not free. evictStorage flushes pending results first, which is a GPU to CPU write-back, and drops the sampled views over the image. An LRU cap that sits just below a title's per-frame working set evicts and re-creates the same surfaces each frame: a flush, a vkCreateImage, a view and an upload per frame. That is far worse than holding a few hundred more. Please add counters for evictions caused by the entry cap and the bytes they flushed to the [buffers] profile line, and give them for the Lana run. Show the same line from a title with a high live count so the cap's effect there is visible.

3. LRU by entry count ignores size. A 256-entry cache of 8 MB surfaces is evicted as readily as one of 4 KB. Weight each entry by a minimum cost (for example max(bytes, 64 KiB) against the existing byte budget) or evict the smallest and oldest first, so the cap removes the small leaked surfaces it was added for and not large live targets.

4. No way to turn it off. 0 or unset selects 2048, so APS5_STORAGE_CACHE_ENTRIES=0 cannot disable the cap. Someone comparing against the old behaviour needs a way to do that.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729898067 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14220#pullrequestreview-5729898067). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T19:42:46Z. **Review:** COMMENTED --- A cap on live `StorageTexture` objects is reasonable, since each one pins Vulkan objects and CPU memory the byte budget cannot see. The number and the eviction cost are not supported yet. **1. 2048 is a choice, and the working set is not shown to sit below it.** The only data is one title's count on a local tree rising from 698 to 1,017 in 5.5 minutes, about 50 per minute, not on `main`, and the cap was not run in game. At that rate the cap is reached after about 20 more minutes, and from then on every new surface evicts another. Please run a long session and report how often the cap fires and what it evicts. **2. Eviction is not free.** `evictStorage` flushes pending results first, which is a GPU to CPU write-back, and drops the sampled views over the image. An LRU cap that sits just below a title's per-frame working set evicts and re-creates the same surfaces each frame: a flush, a `vkCreateImage`, a view and an upload per frame. That is far worse than holding a few hundred more. Please add counters for evictions caused by the entry cap and the bytes they flushed to the `[buffers]` profile line, and give them for the Lana run. Show the same line from a title with a high live count so the cap's effect there is visible. **3. LRU by entry count ignores size.** A 256-entry cache of 8 MB surfaces is evicted as readily as one of 4 KB. Weight each entry by a minimum cost (for example `max(bytes, 64 KiB)` against the existing byte budget) or evict the smallest and oldest first, so the cap removes the small leaked surfaces it was added for and not large live targets. **4. No way to turn it off.** `0` or unset selects 2048, so `APS5_STORAGE_CACHE_ENTRIES=0` cannot disable the cap. Someone comparing against the old behaviour needs a way to do that.
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!14220
No description provided.