feat(agc): reuse unchanged untracked storage snapshots #13809

Open
Celegans12 wants to merge 6 commits from upstream-pr/13809 into main
Celegans12 commented 2026-10-31 07:37:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-31T07:37:13Z.


What

Large untracked storage buffers marked read only are copied again after each collection epoch. Reuse an exact copy while native write-watch tokens and independent AGC proof hold. Flush the full adjusted range before lookup, capture proof before copying, and retain that original proof. Entries share the existing storage pool.

Selected Windows ranges bypass the epoch memo even if arming refuses; unchanged refused ranges therefore copy again. The old memo can return stale bytes after an untracked CPU write within the same epoch. Unsupported hosts keep the previous memo path. Refresh shared stamps after a flush and exclude owned entries from tracked containing-range reuse. Image proofs in #12921 remain separate. Trace summaries separate storage from draw counts for arms, proof checks, requested blocks, reuse, invalidation and capacity evictions. Requested blocks are an upper bound, not exact syscall counts. No title or performance claim.

#13784 and #13793 have merged, so this is one commit on main. The CopyDrawInput gate from #17889 keeps working: storage entries are counted by the same owned-entry counter, raised in KeepOwnedDrawInput and lowered in eraseDrawSnapshot. #9875 changes draw-range metadata; #9712 changes snapshot allocation; #7642 adds image-table lookup; #10442 tracks snapshotted reads; #12921 covers shader-resource proofs. The overlap scan could not complete 101 shared-file comparisons, including 43 with implementation files; review composition if those branches land.

Tested

Based on main 92b4c42543 (rebased 2026-11-15; trace_digest keeps main's graphics-track table from #18949 next to the storage counts, and the summary line carries owned_storage_counts next to main's graphics_track). On that tip, the recorder, owned draw/storage, performance-trace, trace_digest and performance_compare tests (145 in all) passed three times on Windows/NVIDIA RTX 3080 Laptop / 621.14 with validation 1.4.363 loaded and no VUIDs; only the two trace_digest symlink-loop cases skip on Windows. Linux was not rerun.

Earlier rounds, exact merge with main 93dbd0f82a: Windows 11 / MinGW-w64 GCC 15.2.0, NVIDIA RTX 3080 Laptop, validation 1.4.363: ten focused tests passed three times; Ubuntu llvmpipe, validation 1.3.275: seven passed three times. No reported VUIDs or skips. Linux lacked asynchronous UFFD write protection and uses the non-owned fallback.

Trace fixtures check separate draw/storage counts, an unbound event and storage entry-cap eviction. On earlier head 28ba6a5716, flush-stamp and containing-lookup mutants failed both storage tests; a test-only forced old memo returned stale bytes after a CPU write. Restored tests passed. The pinned refusal case is Windows-only.

Not tested: macOS runtime, title scenes, console behavior, title performance or tracing overhead. No real-scene block or eviction rate is claimed.

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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA RTX 3080 Laptop, 621.14 (earlier rounds 610.62), Windows 11; lavapipe LLVM 22.1.8, Windows 11; lavapipe Mesa 25.2.8 / LLVM 20.1.2, Ubuntu 24.04
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5095620252 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-31T07:37:13Z. --- ### What Large untracked storage buffers marked read only are copied again after each collection epoch. Reuse an exact copy while native write-watch tokens and independent AGC proof hold. Flush the full adjusted range before lookup, capture proof before copying, and retain that original proof. Entries share the existing storage pool. Selected Windows ranges bypass the epoch memo even if arming refuses; unchanged refused ranges therefore copy again. The old memo can return stale bytes after an untracked CPU write within the same epoch. Unsupported hosts keep the previous memo path. Refresh shared stamps after a flush and exclude owned entries from tracked containing-range reuse. Image proofs in #12921 remain separate. Trace summaries separate storage from draw counts for arms, proof checks, requested blocks, reuse, invalidation and capacity evictions. Requested blocks are an upper bound, not exact syscall counts. No title or performance claim. #13784 and #13793 have merged, so this is one commit on `main`. The `CopyDrawInput` gate from #17889 keeps working: storage entries are counted by the same owned-entry counter, raised in `KeepOwnedDrawInput` and lowered in `eraseDrawSnapshot`. #9875 changes draw-range metadata; #9712 changes snapshot allocation; #7642 adds image-table lookup; #10442 tracks snapshotted reads; #12921 covers shader-resource proofs. The overlap scan could not complete 101 shared-file comparisons, including 43 with implementation files; review composition if those branches land. ### Tested Based on `main` 92b4c42543 (rebased 2026-11-15; `trace_digest` keeps main's graphics-track table from #18949 next to the storage counts, and the summary line carries `owned_storage_counts` next to main's `graphics_track`). On that tip, the recorder, owned draw/storage, performance-trace, `trace_digest` and `performance_compare` tests (145 in all) passed three times on Windows/NVIDIA RTX 3080 Laptop / 621.14 with validation 1.4.363 loaded and no VUIDs; only the two `trace_digest` symlink-loop cases skip on Windows. Linux was not rerun. Earlier rounds, exact merge with main `93dbd0f82a`: Windows 11 / MinGW-w64 GCC 15.2.0, NVIDIA RTX 3080 Laptop, validation 1.4.363: ten focused tests passed three times; Ubuntu llvmpipe, validation 1.3.275: seven passed three times. No reported VUIDs or skips. Linux lacked asynchronous UFFD write protection and uses the non-owned fallback. Trace fixtures check separate draw/storage counts, an unbound event and storage entry-cap eviction. On earlier head `28ba6a5716`, flush-stamp and containing-lookup mutants failed both storage tests; a test-only forced old memo returned stale bytes after a CPU write. Restored tests passed. The pinned refusal case is Windows-only. Not tested: macOS runtime, title scenes, console behavior, title performance or tracing overhead. No real-scene block or eviction rate is claimed. ### 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 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA RTX 3080 Laptop, 621.14 (earlier rounds 610.62), Windows 11; lavapipe LLVM 22.1.8, Windows 11; lavapipe Mesa 25.2.8 / LLVM 20.1.2, Ubuntu 24.04 - [x] AI-assisted: yes
CnRJay commented 2026-11-01 19:48:17 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Correction (2026-11-01): the title-ID/log demand below is not a CONTRIBUTING requirement; Unblocks: none is allowed. The technical points below are unaffected.

Same series as #13784/#13793, so the same blocking points apply here.

  1. No title, no number: "No title or performance claim", "Unblocks: none". This is a default-on change to the storage-buffer path (read-only untracked storage > the existing pool). It needs a title ID plus tools/trace_digest.py summaries of main and the change from the same machine and scene showing the copies being skipped and the frame cost moving. Without that it is added state and added checks per storage binding with no measured return.

  2. "Selected Windows ranges bypass the epoch memo even if arming refuses." That reads as a regression for the refused case: a range that was previously served by the per-epoch memo is now recopied every time arming fails (pending writes, pins, host access, non-resident blocks). Is there a test where arming is refused and the old memo still serves the range? If not, this can turn a memo hit into a full copy of a large storage buffer per draw.

  3. The owned entries share the existing storage pool, and the tracked containing-range reuse now excludes owned entries (!entry->second.owned.words.empty() continue). Two consequences worth stating with numbers: a large owned entry is invisible to the containing-range lookup that would have served sub-ranges, and it can evict other entries from the shared budget. Please add counters for reuse, refusal and eviction so a trace shows the net effect.

  4. As with the parents, the negative controls are against the historical 6a691f build and several earlier controls were not rerun on this head. The risk here is serving stale storage contents, so the mutants should be rerun on the submitted commit.

Please sequence after #13784 and #13793 and carry the evidence on whichever PR claims the benefit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729918509 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809#pullrequestreview-5729918509). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T19:48:17Z. **Review:** COMMENTED --- **Correction (2026-11-01):** the title-ID/log demand below is not a CONTRIBUTING requirement; `Unblocks: none` is allowed. The technical points below are unaffected. Same series as #13784/#13793, so the same blocking points apply here. 1. No title, no number: "No title or performance claim", "Unblocks: none". This is a default-on change to the storage-buffer path (read-only untracked storage > the existing pool). It needs a title ID plus `tools/trace_digest.py` summaries of main and the change from the same machine and scene showing the copies being skipped and the frame cost moving. Without that it is added state and added checks per storage binding with no measured return. 2. "Selected Windows ranges bypass the epoch memo even if arming refuses." That reads as a regression for the refused case: a range that was previously served by the per-epoch memo is now recopied every time arming fails (pending writes, pins, host access, non-resident blocks). Is there a test where arming is refused and the old memo still serves the range? If not, this can turn a memo hit into a full copy of a large storage buffer per draw. 3. The owned entries share the existing storage pool, and the tracked containing-range reuse now excludes owned entries (`!entry->second.owned.words.empty()` continue). Two consequences worth stating with numbers: a large owned entry is invisible to the containing-range lookup that would have served sub-ranges, and it can evict other entries from the shared budget. Please add counters for reuse, refusal and eviction so a trace shows the net effect. 4. As with the parents, the negative controls are against the historical 6a691f build and several earlier controls were not rerun on this head. The risk here is serving stale storage contents, so the mutants should be rerun on the submitted commit. Please sequence after #13784 and #13793 and carry the evidence on whichever PR claims the benefit.
MarcZX10 commented 2026-11-19 04:38:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T04:38:47Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Changes are required before merge: separate storage proof counts from the owned draw input counter so storage eviction cannot disable draw-input reuse.

What I ran

Reviewed head 7cf278b2ff76b8e26326f7fa76e06958fe62c3ed. Read the prepared description, commits, manifest and diff, then targeted source and test ranges through repo_read.py. No test commands were run; author-reported test results are not independently verified.

Results

Check Result Note
Change review failed Shared counter can become incorrect
Tests not run No commands run in this review

Findings

Blocking

  • core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp:302 allows storage snapshots to be kept as owned entries, while :199 routes them through the same pool as the owned draw snapshots. The changed code increments the shared ownedDrawInputs counter for storage entries, and the existing eraseDrawSnapshot decrements it for every owned entry. However, CopyDrawInput uses this counter as a gate before looking up an owned vertex/index snapshot. When storage entries are evicted or invalidated, the counter can reach zero while an owned draw input still exists, disabling reuse until another draw input is kept. Keep the shared counter’s semantics limited to draw inputs, or add a distinct storage count and update the gate.

Non-blocking

None.

Not verified

Did not run tests or builds. The author-reported Windows and Linux test runs were not independently verified. Did not read full text for core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp or core/libs/prx/libSceAgcDriver/tests/Recorder.cpp; reviewed the relevant changed hunks and targeted ranges through repo_read.py. All other changed files listed in the manifest were included in the review folder; no additional full-file reads were needed.

To get this to a good state

Separate storage ownership accounting from the counter used to gate draw-input reuse, then rerun the owned storage and owned draw input tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5969403236 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809#pullrequestreview-5969403236). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T04:38:47Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Changes are required before merge: separate storage proof counts from the owned draw input counter so storage eviction cannot disable draw-input reuse. ## What I ran Reviewed head `7cf278b2ff76b8e26326f7fa76e06958fe62c3ed`. Read the prepared description, commits, manifest and diff, then targeted source and test ranges through `repo_read.py`. No test commands were run; author-reported test results are not independently verified. ## Results | Check | Result | Note | |---|---|---| | Change review | failed | Shared counter can become incorrect | | Tests | not run | No commands run in this review | ## Findings ### Blocking - `core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp:302` allows storage snapshots to be kept as owned entries, while `:199` routes them through the same pool as the owned draw snapshots. The changed code increments the shared `ownedDrawInputs` counter for storage entries, and the existing `eraseDrawSnapshot` decrements it for every owned entry. However, `CopyDrawInput` uses this counter as a gate before looking up an owned vertex/index snapshot. When storage entries are evicted or invalidated, the counter can reach zero while an owned draw input still exists, disabling reuse until another draw input is kept. Keep the shared counter’s semantics limited to draw inputs, or add a distinct storage count and update the gate. ### Non-blocking None. ## Not verified Did not run tests or builds. The author-reported Windows and Linux test runs were not independently verified. Did not read full text for `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` or `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`; reviewed the relevant changed hunks and targeted ranges through `repo_read.py`. All other changed files listed in the manifest were included in the review folder; no additional full-file reads were needed. ## To get this to a good state Separate storage ownership accounting from the counter used to gate draw-input reuse, then rerun the owned storage and owned draw input tests.
MarcZX10 commented 2026-11-21 06:54:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T06:54:17Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Changes are required before merge: fix the environment switch test setup so the override actually disables owned snapshots.

What I ran

  • Reviewed head efcfac0fccb78e0a88558cdbd402754a941d43f6; base is main. No tests or build commands were run.
  • Read the prepared description, commits, manifest and full diff, plus targeted source and test ranges through repo_read.py.

Results

Check Result Note
Code review failed One verified test defect
Build and tests not run Author-reported runs only

Findings

Blocking

  • The disabled-switch test sets the runtime switch to true only after the static owned decision has already been computed for the current PrepareDrawBindings call. Its subsequent epoch bump does not affect this test's first draw, and the test does not actually establish that the environment switch prevents owned reuse as claimed. The switch must be set before the decision is evaluated (or the test must exercise a fresh ShaderResources instance after setting it). core/libs/prx/libSceAgcDriver/tests/Recorder.cpp:6741

Non-blocking

  • None.

Not verified

  • Did not run compilation or tests. The description reports author-run Windows tests, but these were not run during this review.
  • Did not read every line of the changed test files; the included full text of ShaderResources.cpp and Recorder.cpp was excluded as too large and only targeted ranges were inspected. The other changed-file contents were read in the prepared diff or targeted ranges; excluded files are documented in the manifest.
  • Did not verify macOS runtime, title scenes, console behavior, performance, or tracing overhead.

To get this to a good state

  • Correct the switch test so it disables the path before PrepareDrawBindings makes its owned-path decision, then run the focused test.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:6003642963 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809#pullrequestreview-6003642963). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T06:54:17Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Changes are required before merge: fix the environment switch test setup so the override actually disables owned snapshots. ## What I ran - Reviewed head `efcfac0fccb78e0a88558cdbd402754a941d43f6`; base is `main`. No tests or build commands were run. - Read the prepared description, commits, manifest and full diff, plus targeted source and test ranges through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Code review | failed | One verified test defect | | Build and tests | not run | Author-reported runs only | ## Findings ### Blocking - The disabled-switch test sets the runtime switch to `true` only after the static `owned` decision has already been computed for the current `PrepareDrawBindings` call. Its subsequent epoch bump does not affect this test's first draw, and the test does not actually establish that the environment switch prevents owned reuse as claimed. The switch must be set before the decision is evaluated (or the test must exercise a fresh `ShaderResources` instance after setting it). `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp:6741` ### Non-blocking - None. ## Not verified - Did not run compilation or tests. The description reports author-run Windows tests, but these were not run during this review. - Did not read every line of the changed test files; the included full text of `ShaderResources.cpp` and `Recorder.cpp` was excluded as too large and only targeted ranges were inspected. The other changed-file contents were read in the prepared diff or targeted ranges; excluded files are documented in the manifest. - Did not verify macOS runtime, title scenes, console behavior, performance, or tracing overhead. ## To get this to a good state - Correct the switch test so it disables the path before `PrepareDrawBindings` makes its owned-path decision, then run the focused test.
MarcZX10 commented 2026-11-22 06:35:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T06:35:21Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this review; the change’s core reuse path and trace-digest handling appear sound in the inspected code.

What I ran

No commands or tests were run. I reviewed head ca24aa1a04f8b05e2adeefed90802591e5006ed5 using the prepared diff and repo_read.py source reads.

Results

Check Result Note
Diff and targeted source review passed Core paths inspected
Tests not run Author-reported results only

Findings

Blocking

None.

Non-blocking

None.

Not verified

The full text of core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp and core/libs/prx/libSceAgcDriver/tests/Recorder.cpp was excluded as oversized; the relevant changed hunks were inspected in diff.patch. No tests were run, and runtime behavior on Windows, Linux, macOS, or console hardware was not verified. The description reports Windows test runs, but these were not performed in this review.

Files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch; targeted ranges of core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp, core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp, core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp, core/libs/prx/libSceAgcDriver/Execution/include/PerformanceTrace.hpp, and tools/trace_digest.py. Excluded by bundle size: full ShaderResources.cpp and tests/Recorder.cpp.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6010784082 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809#pullrequestreview-6010784082). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T06:35:21Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this review; the change’s core reuse path and trace-digest handling appear sound in the inspected code. ## What I ran No commands or tests were run. I reviewed head `ca24aa1a04f8b05e2adeefed90802591e5006ed5` using the prepared diff and `repo_read.py` source reads. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted source review | passed | Core paths inspected | | Tests | not run | Author-reported results only | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The full text of `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` and `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` was excluded as oversized; the relevant changed hunks were inspected in `diff.patch`. No tests were run, and runtime behavior on Windows, Linux, macOS, or console hardware was not verified. The description reports Windows test runs, but these were not performed in this review. Files read: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`; targeted ranges of `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`, `core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`, `core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`, `core/libs/prx/libSceAgcDriver/Execution/include/PerformanceTrace.hpp`, and `tools/trace_digest.py`. Excluded by bundle size: full `ShaderResources.cpp` and `tests/Recorder.cpp`. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 12:14:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T12:14:51Z.

Review: APPROVED


Reviewed — looks good

The reviewed changes look consistent with the stated goal; I did not run checks, and the PR description’s test results are author reported.

What I ran

Reviewed head 86042155c3177dc269c8f5f306ce382975a49979. No commands or checks were run. I read the prepared diff and targeted source at the pinned head; no merged preview was checked.

Results

Check Result Note
Code review passed Core snapshot flow inspected
Tests not run Description reports prior Windows and Linux runs

Findings

Blocking

None.

Non-blocking

None.

Not verified

The full text of core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp and core/libs/prx/libSceAgcDriver/tests/Recorder.cpp was excluded from the review folder; I read only the relevant ranges through the pinned reader. No runtime, test, build, console, title-scene, or performance checks were performed. The author’s reported test runs were not independently verified.

Files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch; all 16 changed files listed in review/manifest.json were reviewed through the diff and targeted source ranges where relevant. review/files.json was not present in the prepared folder listing.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6057411896 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809#pullrequestreview-6057411896). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T12:14:51Z. **Review:** APPROVED --- # Reviewed — looks good The reviewed changes look consistent with the stated goal; I did not run checks, and the PR description’s test results are author reported. ## What I ran Reviewed head `86042155c3177dc269c8f5f306ce382975a49979`. No commands or checks were run. I read the prepared diff and targeted source at the pinned head; no merged preview was checked. ## Results | Check | Result | Note | |---|---|---| | Code review | passed | Core snapshot flow inspected | | Tests | not run | Description reports prior Windows and Linux runs | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The full text of `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` and `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` was excluded from the review folder; I read only the relevant ranges through the pinned reader. No runtime, test, build, console, title-scene, or performance checks were performed. The author’s reported test runs were not independently verified. Files read: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`; all 16 changed files listed in `review/manifest.json` were reviewed through the diff and targeted source ranges where relevant. `review/files.json` was not present in the prepared folder listing. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 22:50:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:50:07Z.

Review: COMMENTED


The trial merge onto c1601e56d5 conflicts in recorder, draw and trace files. Preserve the proof taken before copying, the refused-arming control, and the containing-range refusal when rebasing. The optional prefix and last byte both belong to the adjusted copy, so the existing protection tests for those positions are useful. Move the direct AGC debt edit into a fragment.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6180014947 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13809#pullrequestreview-6180014947). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T22:50:07Z. **Review:** COMMENTED --- The trial merge onto `c1601e56d5` conflicts in recorder, draw and trace files. Preserve the proof taken before copying, the refused-arming control, and the containing-range refusal when rebasing. The optional prefix and last byte both belong to the adjusted copy, so the existing protection tests for those positions are useful. Move the direct AGC debt edit into a fragment. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/13809:upstream-pr/13809'
git switch 'upstream-pr/13809'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/13809'
git switch 'upstream-pr/13809'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/13809'
git switch 'upstream-pr/13809'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/13809'
git switch 'main'
git merge --squash 'upstream-pr/13809'
git switch 'main'
git merge --ff-only 'upstream-pr/13809'
git switch 'main'
git merge 'upstream-pr/13809'
git push origin 'main'
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!13809
No description provided.