refactor(agc): share storage budget snapshots with memory reports #14219

Merged
hamb3r merged 3 commits from upstream-pr/14219 into main 2026-11-12 20:27:55 +00:00
hamb3r commented 2026-11-01 00:29:42 +00:00 (Migrated from github.com)

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


What

Follow up #10194 by calculating the storage-cache decision and its diagnostic fields together. CalculateStorageTextureBudget returns the chosen heap, sampled/cached inputs, reservation, available bytes, ceiling and selectedBudget. The existing scalar functions consume that calculation, and MemoryAccounting::Report formats its snapshot. Budget formulas, fallback behavior, cache policy and report keys remain unchanged.

The final snapshot, including any re-read after idle reclaim, is captured under the budget-cache mutex. The active limit and its optional calculation timestamp are copied before releasing that mutex. Ledger snapshotting and report output then run outside it.

CTest ignores the process exit code when PASS_REGULAR_EXPRESSION is set, so a failed Expect can still pass when the report line matches (CTest documentation). Existing cap/floor tests reject FAIL: explicitly; the snapshot test checks pressure, unavailable/zero Vulkan budget information and the 512 MiB floor, with its own failure guard.

Depends on #14891: it adds the age annotation to the sampled-cache report while retaining the scalar storage-budget API. This branch is rebased on its exact head, preserving the timestamp copy inside the cache mutex. #14220 at d2cad1510164 merges cleanly. #6194 still conflicts with main itself and must preserve its final adjusted budget when integrated; coordination remains in the existing discussion.

Tested

Windows 10 Pro 10.0.19045, AMD Ryzen 7 7700, NVIDIA GeForce RTX 3080, NVIDIA 617.14, validation layer 1.4.350.0, WinLibs GCC 15.2.0, Release, BUILD_TESTING=ON, CCACHE_DISABLE=1.

  • Main: f03f72490132ed55d81c664b570d0bd26bc96694.
  • Dependency #14891: 55940bd5c49d44adf0bf1ede28901bed627ee403.
  • This PR: e0ace57ec2263c62a3d8e9adbde6d68ec7c795a6.
  • Built agc_driver_sampled_cache_budget_tests, agc_driver_graphics_tests and agc_buffer_pool_tests for all three states.

Same machine/GPU and environment for every run:

ANYPS5_REQUIRE_VULKAN=1
ANYPS5_NO_SHADER_CACHE=1
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation
VK_LOADER_DEBUG=error,warn,layer
ANYPS5_GPU=RTX 3080
ctest --test-dir build-portable -R '^(agc_driver_sampled_cache_budget_(memory|report_age)|agc_driver_recover_(sampled|storage)_allocation|agc_driver_graphics|agc_buffer_pool|agc_memory_accounting_budget_(cap|floor|snapshot))$' -V

Main passes the same 7/7 existing cases, the dependency passes 8/8 including report age, and this PR passes 9/9 including the snapshot case. Validation-layer insertion is confirmed in all comparison logs; none has a missing-layer warning or VUID validation errors. No cases skipped.

Mutation controls: deliberately incorrect cap and snapshot assertions are both rejected with CTest exit 8 even though their numeric reports still match. Restoring the assertions passes both cases.

Conventions and git diff --check pass. Full builds/test suites, Linux/macOS, games and FPS were not tested.

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: #14891
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 3080, NVIDIA 617.14, Windows 10 Pro 10.0.19045
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5102919536 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14219). Originally posted by [hamb3r](https://github.com/hamb3r) on 2026-11-01T00:29:42Z. --- ### What Follow up #10194 by calculating the storage-cache decision and its diagnostic fields together. `CalculateStorageTextureBudget` returns the chosen heap, sampled/cached inputs, reservation, available bytes, ceiling and `selectedBudget`. The existing scalar functions consume that calculation, and `MemoryAccounting::Report` formats its snapshot. Budget formulas, fallback behavior, cache policy and report keys remain unchanged. The final snapshot, including any re-read after idle reclaim, is captured under the budget-cache mutex. The active limit and its optional calculation timestamp are copied before releasing that mutex. Ledger snapshotting and report output then run outside it. CTest ignores the process exit code when `PASS_REGULAR_EXPRESSION` is set, so a failed `Expect` can still pass when the report line matches ([CTest documentation](https://cmake.org/cmake/help/latest/prop_test/PASS_REGULAR_EXPRESSION.html)). Existing cap/floor tests reject `FAIL:` explicitly; the snapshot test checks pressure, unavailable/zero Vulkan budget information and the 512 MiB floor, with its own failure guard. Depends on #14891: it adds the age annotation to the sampled-cache report while retaining the scalar storage-budget API. This branch is rebased on its exact head, preserving the timestamp copy inside the cache mutex. #14220 at `d2cad1510164` merges cleanly. #6194 still conflicts with main itself and must preserve its final adjusted budget when integrated; coordination remains in [the existing discussion](https://github.com/boykopovar/AnyPS5/pull/6194#issuecomment-6552207004). ### Tested Windows 10 Pro 10.0.19045, AMD Ryzen 7 7700, NVIDIA GeForce RTX 3080, NVIDIA 617.14, validation layer 1.4.350.0, WinLibs GCC 15.2.0, Release, BUILD_TESTING=ON, CCACHE_DISABLE=1. - Main: `f03f72490132ed55d81c664b570d0bd26bc96694`. - Dependency #14891: `55940bd5c49d44adf0bf1ede28901bed627ee403`. - This PR: `e0ace57ec2263c62a3d8e9adbde6d68ec7c795a6`. - Built `agc_driver_sampled_cache_budget_tests`, `agc_driver_graphics_tests` and `agc_buffer_pool_tests` for all three states. Same machine/GPU and environment for every run: ```text ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=error,warn,layer ANYPS5_GPU=RTX 3080 ``` ```sh ctest --test-dir build-portable -R '^(agc_driver_sampled_cache_budget_(memory|report_age)|agc_driver_recover_(sampled|storage)_allocation|agc_driver_graphics|agc_buffer_pool|agc_memory_accounting_budget_(cap|floor|snapshot))$' -V ``` Main passes the same 7/7 existing cases, the dependency passes 8/8 including report age, and this PR passes 9/9 including the snapshot case. Validation-layer insertion is confirmed in all comparison logs; none has a missing-layer warning or VUID validation errors. No cases skipped. Mutation controls: deliberately incorrect cap and snapshot assertions are both rejected with CTest exit 8 even though their numeric reports still match. Restoring the assertions passes both cases. Conventions and `git diff --check` pass. Full builds/test suites, Linux/macOS, games and FPS were not tested. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### 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: <!-- #PR, or none --> #14891 - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> NVIDIA GeForce RTX 3080, NVIDIA 617.14, Windows 10 Pro 10.0.19045 - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-11-01 01:19:04 +00:00 (Migrated from github.com)

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

Review: DISMISSED


Reviewed — changes requested

The PR conflicts with both #6194 and #14220, and its description says the landing order with #6194 has not been agreed.

What I ran

Reviewed head 7d9f2a1f03367de6f92f9ecfba36f8b52b9a0970 against PR base 1ffd2b81f5960e51bef0d539891e2528eafff642 on Debian 12 x86_64, Python 3.11.2 and GCC 12.2.0. The preview onto current main c763ea56aae3bb60cd6e22064a6a21482a58a980 merged cleanly. Pairwise previews against #6194 and #14220 conflicted. I did not build locally.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14219
git diff --check 1ffd2b81f5960e51bef0d539891e2528eafff642...7d9f2a1f03367de6f92f9ecfba36f8b52b9a0970
git merge-tree --write-tree upstream/main refs/anyps5/review/14219
git merge-tree --write-tree --name-only refs/anyps5/review/14219 refs/anyps5/review/6194
git merge-tree --write-tree --name-only refs/anyps5/review/14219 refs/anyps5/review/14220
gh pr checks 14219 --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 0ed87fc8de56eb065b2c723e5cc6ea6c5e994a4a.
Pairwise preview with #6194 Conflicts in ShaderResources.hpp, ShaderResources.cpp, and docs/dev/debt/libSceAgcDriver.md.
Pairwise preview with #14220 Conflicts in the same three files.
Hosted CI Conventions, intake, labels, library-portability, report, eligibility and Windows passed; Linux and specialized jobs skipped.
GPU validation and focused tests The PR reports paired 10/10 test runs on main and the change, plus a new snapshot test and mutation check, on Windows 10 with an RTX 3080. I did not reproduce these locally.
Selected unedited output
0ed87fc8de56eb065b2c723e5cc6ea6c5e994a4a
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	27m48s	https://github.com/boykopovar/AnyPS5/actions/runs/41257599023/job/124705363529
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41257599023/job/124705364702

Negative control

Assertion Baseline/change Result
Budget output checks fail when their expected value is mutated by one byte, even if output still matches the pass regex PR description reports a pass-only CTest fixture accepted the mutated executable before this change and the new FAIL: guard rejects it. Author-reported; not independently reproduced.

Findings

Blocking

The PR names #6194 as an open change to the same storage-budget policy, and the pairwise preview confirms content conflicts with it. The preview against #14220 also conflicts because that PR changes the storage-cache policy and shared debt entry. The repository requires overlapping PR authors to agree which lands first and declare the order in Depends on; this PR says no order is agreed and its checklist currently declares no dependency. Please coordinate a landing sequence with the authors of #6194 and #14220, then update the relevant checklist lines before this stack proceeds.

Non-blocking

The current-main preview is clean. The hosted Windows job passed; no Linux product job ran. The PR describes its RTX 3080 validation-layer run and paired baseline tests in detail, but I did not independently reproduce them.

Sources

Not verified

No local build, CTest, or GPU/validation-layer run. The author-reported RTX 3080 results and negative control were not independently reproduced; hosted Linux product tests were skipped.

To get this to a good state

Agree with the authors of #6194 and #14220 on the landing sequence and record it in the affected Depends on checklist lines. I will rerun the pairwise previews against the updated heads.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5725856791 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14219#pullrequestreview-5725856791). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T01:19:04Z. **Review:** DISMISSED --- # Reviewed — changes requested The PR conflicts with both #6194 and #14220, and its description says the landing order with #6194 has not been agreed. ## What I ran Reviewed head `7d9f2a1f03367de6f92f9ecfba36f8b52b9a0970` against PR base `1ffd2b81f5960e51bef0d539891e2528eafff642` on Debian 12 x86_64, Python 3.11.2 and GCC 12.2.0. The preview onto current `main` `c763ea56aae3bb60cd6e22064a6a21482a58a980` merged cleanly. Pairwise previews against #6194 and #14220 conflicted. I did not build locally. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14219 git diff --check 1ffd2b81f5960e51bef0d539891e2528eafff642...7d9f2a1f03367de6f92f9ecfba36f8b52b9a0970 git merge-tree --write-tree upstream/main refs/anyps5/review/14219 git merge-tree --write-tree --name-only refs/anyps5/review/14219 refs/anyps5/review/6194 git merge-tree --write-tree --name-only refs/anyps5/review/14219 refs/anyps5/review/14220 gh pr checks 14219 --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 `0ed87fc8de56eb065b2c723e5cc6ea6c5e994a4a`. | | Pairwise preview with #6194 | Conflicts in `ShaderResources.hpp`, `ShaderResources.cpp`, and `docs/dev/debt/libSceAgcDriver.md`. | | Pairwise preview with #14220 | Conflicts in the same three files. | | Hosted CI | Conventions, intake, labels, library-portability, report, eligibility and Windows passed; Linux and specialized jobs skipped. | | GPU validation and focused tests | The PR reports paired 10/10 test runs on main and the change, plus a new snapshot test and mutation check, on Windows 10 with an RTX 3080. I did not reproduce these locally. | <details><summary>Selected unedited output</summary> ```text 0ed87fc8de56eb065b2c723e5cc6ea6c5e994a4a ``` ```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 27m48s https://github.com/boykopovar/AnyPS5/actions/runs/41257599023/job/124705363529 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41257599023/job/124705364702 ``` </details> ## Negative control | Assertion | Baseline/change | Result | |---|---|---| | Budget output checks fail when their expected value is mutated by one byte, even if output still matches the pass regex | PR description reports a pass-only CTest fixture accepted the mutated executable before this change and the new `FAIL:` guard rejects it. | Author-reported; not independently reproduced. | ## Findings ### Blocking The PR names #6194 as an open change to the same storage-budget policy, and the pairwise preview confirms content conflicts with it. The preview against #14220 also conflicts because that PR changes the storage-cache policy and shared debt entry. The repository requires overlapping PR authors to agree which lands first and declare the order in `Depends on`; this PR says no order is agreed and its checklist currently declares no dependency. Please coordinate a landing sequence with the authors of #6194 and #14220, then update the relevant checklist lines before this stack proceeds. ### Non-blocking The current-main preview is clean. The hosted Windows job passed; no Linux product job ran. The PR describes its RTX 3080 validation-layer run and paired baseline tests in detail, but I did not independently reproduce them. ## Sources - [Repository overlap rule, pinned to current main](https://github.com/boykopovar/AnyPS5/blob/c763ea56aae3bb60cd6e22064a6a21482a58a980/CONTRIBUTING.md#L70) - [#14219 implementation and tests at reviewed head](https://github.com/boykopovar/AnyPS5/tree/7d9f2a1f03367de6f92f9ecfba36f8b52b9a0970/core/libs/prx/libSceAgcDriver) - [#6194 overlapping head](https://github.com/boykopovar/AnyPS5/tree/8bb130068023741ae244df30c74ddef5bc386644/core/libs/prx/libSceAgcDriver) - [#14220 overlapping head](https://github.com/boykopovar/AnyPS5/tree/55d3875c32c747a16eb63cd4b5776e21ae30c17a/core/libs/prx/libSceAgcDriver) ## Not verified No local build, CTest, or GPU/validation-layer run. The author-reported RTX 3080 results and negative control were not independently reproduced; hosted Linux product tests were skipped. ## To get this to a good state Agree with the authors of #6194 and #14220 on the landing sequence and record it in the affected `Depends on` checklist lines. I will rerun the pairwise previews against the updated heads.
MarcZX10 commented 2026-11-01 01:56:16 +00:00 (Migrated from github.com)

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

Review: DISMISSED


Re-checked — new head, changes requested

The updated head now merges cleanly with #14220, but the proposed #14219-before-#6194 order is still unagreed and the exact heads still conflict.

What I ran

Reviewed #14219 head f997c0e0072b2c36e41355203e7d97d0ce3e7ada; its recorded PR base is 5f438847c5064961808425ce0465ed8675474dde, and current main is f485df1f8c660bbabc495dd34415f8d6e982ea24. The current-main preview is clean. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14219
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=f997c0e0072b2c36e41355203e7d97d0ce3e7ada --dependent 6194=8bb130068023741ae244df30c74ddef5bc386644
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=f997c0e0072b2c36e41355203e7d97d0ce3e7ada --dependent 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a

Results

Check Result
Diff and conventions Passed
Current-main merge preview Passed against f485df1f8c660bbabc495dd34415f8d6e982ea24
Pairwise merge with #14220 Clean
Pairwise merge with #6194 Conflicts in ShaderResources.hpp, ShaderResources.cpp, and docs/dev/debt/libSceAgcDriver.md
Hosted CI Windows, conventions, eligibility, report, and library-portability passed on this head; Linux and specialized jobs were skipped. A newer conventions run and labels check were queued
ABI/test-quality helpers Not executable in the isolated PR checkout; the workspace-only scripts are absent there
Author-reported tests The PR reports paired 10/10 tests plus a new snapshot test and mutation check; I did not independently rerun them
Local build/CTest Not run
Unedited command output
All conventions checks passed.

Shared comparison base: ab9a4768407d862d1879d7d0ee66bd9c3d9d67a8.
Dependency ancestry: NOT REQUIRED — PR #14219 must land before PR #6194.
Pairwise merge preview: CONFLICT — overlapping changes need manual review.
Unedited git merge-tree output:
380725b5b16bb0f830d52ba17bd6bf1f9c6f7224
100644 77058182fef944c49f64447279e0cdd361788a4e 1	core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
100644 9ac165dd9db60f67a0eef7af205af0a005fd5606 2	core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
100644 539f781cf22e7b19e4322ea3bad064779ad94439 3	core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
100644 8e5b85e63456d9b39a1f8fb17a9b68e0c4f77fee 1	core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
100644 6cdf1836be3c164b5d71ac9fdc8ef28637a1961b 2	core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
100644 207a9db3d12777509f5eedb9583f8ae5105b1bc8 3	core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
100644 e65bfc41645ff8a0df7fc3b7644d37fa3d874f09 1	docs/dev/debt/libSceAgcDriver.md
100644 b0a8e0d7b169947aeb71eed153cda22c2a6877a0 2	docs/dev/debt/libSceAgcDriver.md
100644 32431238454407551afdfce111ff976878e411b8 3	docs/dev/debt/libSceAgcDriver.md

Auto-merging core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
Auto-merging core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
Auto-merging core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
Auto-merging docs/dev/debt/libSceAgcDriver.md
CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md
Shared comparison base: 381891927c2b3ff494a9853cb79fde8d5342b92d.
Dependency ancestry: NOT REQUIRED — PR #14219 must land before PR #14220.
Pairwise merge preview: CLEAN — tree 14f74baeee195a2d32412b6ad723bcc14a2ddc38.
/usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14219-f997c0e0072b/head-f997c0e0072b-b61fc81e/tools/pr_abi_audit.py': [Errno 2] No such file or directory

/usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14219-f997c0e0072b/head-f997c0e0072b-b61fc81e/tools/pr_test_quality.py': [Errno 2] No such file or directory

Negative control

Assertion Change to code under test Did the new test fail?
Snapshot test rejects a mutated reservation even when the pass regex matches The PR description reports mutating the reservation assertion Author-reported only; not independently reproduced

Findings

Blocking

The proposed landing order is #14219 before #6194, but the exact current heads still conflict in three shared files and the author says agreement is pending. The repository overlap rule requires agreement on order and that it be declared with Depends on. Please confirm the order with #6194's author; then record the dependency on the PR that lands second and rebase/resolve the conflict.

Non-blocking

The current #14219 and #14220 heads merge cleanly together. The PR's summary and test-guard changes are otherwise reflected in the updated description; their runtime evidence remains author-reported.

Sources

Not verified

No local build, CTest, GPU run, or independent reproduction of the author's mutation check. The Windows and test results above are hosted or author-reported; Linux and specialized hosted jobs were skipped.

To get this to a good state

Confirm the landing sequence with #6194's author, update the dependent PR's Depends on line, and resolve the remaining exact-head conflict. I will rerun the same current-main and pairwise checks on the updated heads.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5725952109 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14219#pullrequestreview-5725952109). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T01:56:16Z. **Review:** DISMISSED --- # Re-checked — new head, changes requested The updated head now merges cleanly with #14220, but the proposed #14219-before-#6194 order is still unagreed and the exact heads still conflict. ## What I ran Reviewed #14219 head `f997c0e0072b2c36e41355203e7d97d0ce3e7ada`; its recorded PR base is `5f438847c5064961808425ce0465ed8675474dde`, and current `main` is `f485df1f8c660bbabc495dd34415f8d6e982ea24`. The current-main preview is clean. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14219 python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=f997c0e0072b2c36e41355203e7d97d0ce3e7ada --dependent 6194=8bb130068023741ae244df30c74ddef5bc386644 python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=f997c0e0072b2c36e41355203e7d97d0ce3e7ada --dependent 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a ``` ## Results | Check | Result | |---|---| | Diff and conventions | Passed | | Current-main merge preview | Passed against `f485df1f8c660bbabc495dd34415f8d6e982ea24` | | Pairwise merge with #14220 | Clean | | Pairwise merge with #6194 | Conflicts in `ShaderResources.hpp`, `ShaderResources.cpp`, and `docs/dev/debt/libSceAgcDriver.md` | | Hosted CI | Windows, conventions, eligibility, report, and library-portability passed on this head; Linux and specialized jobs were skipped. A newer conventions run and labels check were queued | | ABI/test-quality helpers | Not executable in the isolated PR checkout; the workspace-only scripts are absent there | | Author-reported tests | The PR reports paired 10/10 tests plus a new snapshot test and mutation check; I did not independently rerun them | | Local build/CTest | Not run | <details><summary>Unedited command output</summary> ```text All conventions checks passed. Shared comparison base: ab9a4768407d862d1879d7d0ee66bd9c3d9d67a8. Dependency ancestry: NOT REQUIRED — PR #14219 must land before PR #6194. Pairwise merge preview: CONFLICT — overlapping changes need manual review. Unedited git merge-tree output: 380725b5b16bb0f830d52ba17bd6bf1f9c6f7224 100644 77058182fef944c49f64447279e0cdd361788a4e 1 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp 100644 9ac165dd9db60f67a0eef7af205af0a005fd5606 2 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp 100644 539f781cf22e7b19e4322ea3bad064779ad94439 3 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp 100644 8e5b85e63456d9b39a1f8fb17a9b68e0c4f77fee 1 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp 100644 6cdf1836be3c164b5d71ac9fdc8ef28637a1961b 2 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp 100644 207a9db3d12777509f5eedb9583f8ae5105b1bc8 3 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp 100644 e65bfc41645ff8a0df7fc3b7644d37fa3d874f09 1 docs/dev/debt/libSceAgcDriver.md 100644 b0a8e0d7b169947aeb71eed153cda22c2a6877a0 2 docs/dev/debt/libSceAgcDriver.md 100644 32431238454407551afdfce111ff976878e411b8 3 docs/dev/debt/libSceAgcDriver.md Auto-merging core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp Auto-merging core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp Auto-merging core/libs/prx/libSceAgcDriver/tests/Graphics.cpp Auto-merging docs/dev/debt/libSceAgcDriver.md CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md Shared comparison base: 381891927c2b3ff494a9853cb79fde8d5342b92d. Dependency ancestry: NOT REQUIRED — PR #14219 must land before PR #14220. Pairwise merge preview: CLEAN — tree 14f74baeee195a2d32412b6ad723bcc14a2ddc38. /usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14219-f997c0e0072b/head-f997c0e0072b-b61fc81e/tools/pr_abi_audit.py': [Errno 2] No such file or directory /usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14219-f997c0e0072b/head-f997c0e0072b-b61fc81e/tools/pr_test_quality.py': [Errno 2] No such file or directory ``` </details> ## Negative control | Assertion | Change to code under test | Did the new test fail? | |---|---|---| | Snapshot test rejects a mutated reservation even when the pass regex matches | The PR description reports mutating the reservation assertion | Author-reported only; not independently reproduced | ## Findings ### Blocking The proposed landing order is #14219 before #6194, but the exact current heads still conflict in three shared files and the author says agreement is pending. The repository overlap rule requires agreement on order and that it be declared with `Depends on`. Please confirm the order with #6194's author; then record the dependency on the PR that lands second and rebase/resolve the conflict. ### Non-blocking The current #14219 and #14220 heads merge cleanly together. The PR's summary and test-guard changes are otherwise reflected in the updated description; their runtime evidence remains author-reported. ## Sources - [Repository overlap rule at current `main`](https://github.com/boykopovar/AnyPS5/blob/f485df1f8c660bbabc495dd34415f8d6e982ea24/CONTRIBUTING.md#L70) - [#14219 exact head](https://github.com/boykopovar/AnyPS5/tree/f997c0e0072b2c36e41355203e7d97d0ce3e7ada) - [#6194 exact head](https://github.com/boykopovar/AnyPS5/tree/8bb130068023741ae244df30c74ddef5bc386644) - [#14220 exact head](https://github.com/boykopovar/AnyPS5/tree/55d3875c32c747a16eb63cd4b5776e21ae30c17a) ## Not verified No local build, CTest, GPU run, or independent reproduction of the author's mutation check. The Windows and test results above are hosted or author-reported; Linux and specialized hosted jobs were skipped. ## To get this to a good state Confirm the landing sequence with #6194's author, update the dependent PR's `Depends on` line, and resolve the remaining exact-head conflict. I will rerun the same current-main and pairwise checks on the updated heads.
MarcZX10 commented 2026-11-01 02:23:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T02:23:27Z.

Review: DISMISSED


Re-checked — new head, changes still requested

Head 520f1ecd916f1c0f897d91bdcd7832c4e3b08bab now merges cleanly with #14220, but the landing order with #6194 remains unagreed and their exact heads still conflict.

What I ran

Reviewed head 520f1ecd916f1c0f897d91bdcd7832c4e3b08bab; GitHub records base 41f9c911dadca8aa735ad5063d8630712a9985dc, while current main is 0e9dc7bc4c9755c3ce803f6bbdff9dc9f25d68bb. Environment: Debian 12 x86-64, Python 3.11.2, GCC 12.2.0. The precheck reported a clean preview against current main.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14219
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=520f1ecd916f1c0f897d91bdcd7832c4e3b08bab --dependent 6194=8bb130068023741ae244df30c74ddef5bc386644
python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=520f1ecd916f1c0f897d91bdcd7832c4e3b08bab --dependent 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a

Results

Check Result
Diff and conventions Passed in the no-build precheck.
Merge preview against current main Clean.
Pairwise preview with #6194 Conflicts in ShaderResources.hpp, ShaderResources.cpp, and docs/dev/debt/libSceAgcDriver.md.
Pairwise preview with #14220 Clean on the current exact heads.
Hosted checks Windows pending; conventions, labels, portability, report, and eligibility passed. Linux and specialized jobs skipped.
Build-dependent tests Not run locally; the PR reports 11/11 focused tests on Windows.
Optional ABI/test-quality helpers The precheck could not run the workspace-only helper scripts in its isolated PR checkout. The new agc_memory_accounting_budget_snapshot test is registered in the changed CMake fragment.
Selected unedited output
All conventions checks passed.

PR #14219: clean against current base; head `520f1ecd916f1c0f897d91bdcd7832c4e3b08bab`
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
Pairwise merge preview: CLEAN — tree 324b08e20f0e0cb0e9fcd5c14231c12935ecc301.

Findings

Blocking

The exact #14219 and #6194 heads still conflict in three shared files, and the latest discussion on #6194 says the proposed #14219-before-#6194 order is awaiting the other author's confirmation. This PR still lists Depends on: none. Please confirm the landing order with the #6194 author and record it on the PR that lands second; then refresh the affected branch and I will rerun the pairwise preview.

Non-blocking

The latest head fixes the CTest registration placement, and the current pairwise preview with #14220 is clean. The Windows focused-test result is author-reported; it is not a local run.

Sources

Not verified

No local build, CTest, GPU validation run, or independent reproduction of the reported mutation check. Hosted Windows CI is still pending; Linux and specialized product jobs were skipped.

To get this to a good state

Confirm the sequence with the #6194 author. If #14219 lands first, declare that order in #6194's Depends on line; refresh the second branch and resolve the remaining conflicts. I will rerun the same pairwise checks on the updated heads.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5726017466 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14219#pullrequestreview-5726017466). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T02:23:27Z. **Review:** DISMISSED --- # Re-checked — new head, changes still requested Head `520f1ecd916f1c0f897d91bdcd7832c4e3b08bab` now merges cleanly with #14220, but the landing order with #6194 remains unagreed and their exact heads still conflict. ## What I ran Reviewed head `520f1ecd916f1c0f897d91bdcd7832c4e3b08bab`; GitHub records base `41f9c911dadca8aa735ad5063d8630712a9985dc`, while current `main` is `0e9dc7bc4c9755c3ce803f6bbdff9dc9f25d68bb`. Environment: Debian 12 x86-64, Python 3.11.2, GCC 12.2.0. The precheck reported a clean preview against current `main`. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14219 python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=520f1ecd916f1c0f897d91bdcd7832c4e3b08bab --dependent 6194=8bb130068023741ae244df30c74ddef5bc386644 python3 /root/.codex/skills/anyps5-pr-review/scripts/check_pr_stack.py --order-only --dependency 14219=520f1ecd916f1c0f897d91bdcd7832c4e3b08bab --dependent 14220=55d3875c32c747a16eb63cd4b5776e21ae30c17a ``` ## Results | Check | Result | |---|---| | Diff and conventions | Passed in the no-build precheck. | | Merge preview against current `main` | Clean. | | Pairwise preview with #6194 | Conflicts in `ShaderResources.hpp`, `ShaderResources.cpp`, and `docs/dev/debt/libSceAgcDriver.md`. | | Pairwise preview with #14220 | Clean on the current exact heads. | | Hosted checks | Windows pending; conventions, labels, portability, report, and eligibility passed. Linux and specialized jobs skipped. | | Build-dependent tests | Not run locally; the PR reports 11/11 focused tests on Windows. | | Optional ABI/test-quality helpers | The precheck could not run the workspace-only helper scripts in its isolated PR checkout. The new `agc_memory_accounting_budget_snapshot` test is registered in the changed CMake fragment. | <details><summary>Selected unedited output</summary> ```text All conventions checks passed. ``` ```text PR #14219: clean against current base; head `520f1ecd916f1c0f897d91bdcd7832c4e3b08bab` ``` ```text 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 ``` ```text Pairwise merge preview: CLEAN — tree 324b08e20f0e0cb0e9fcd5c14231c12935ecc301. ``` </details> ## Findings ### Blocking The exact #14219 and #6194 heads still conflict in three shared files, and the latest discussion on #6194 says the proposed #14219-before-#6194 order is awaiting the other author's confirmation. This PR still lists `Depends on: none`. Please confirm the landing order with the #6194 author and record it on the PR that lands second; then refresh the affected branch and I will rerun the pairwise preview. ### Non-blocking The latest head fixes the CTest registration placement, and the current pairwise preview with #14220 is clean. The Windows focused-test result is author-reported; it is not a local run. ## Sources - [Repository overlap and landing-order rule at current `main`](https://github.com/boykopovar/AnyPS5/blob/0e9dc7bc4c9755c3ce803f6bbdff9dc9f25d68bb/CONTRIBUTING.md#L70) - [#14219 exact head](https://github.com/boykopovar/AnyPS5/tree/520f1ecd916f1c0f897d91bdcd7832c4e3b08bab) - [#6194 exact head](https://github.com/boykopovar/AnyPS5/tree/8bb130068023741ae244df30c74ddef5bc386644) - [#14220 exact head](https://github.com/boykopovar/AnyPS5/tree/55d3875c32c747a16eb63cd4b5776e21ae30c17a) ## Not verified No local build, CTest, GPU validation run, or independent reproduction of the reported mutation check. Hosted Windows CI is still pending; Linux and specialized product jobs were skipped. ## To get this to a good state Confirm the sequence with the #6194 author. If #14219 lands first, declare that order in #6194's `Depends on` line; refresh the second branch and resolve the remaining conflicts. I will rerun the same pairwise checks on the updated heads.
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!14219
No description provided.