feat(agc): capture native depth and restore repeated replay windows #19557

Open
IvanFogel wants to merge 26 commits from upstream-pr/19557 into main
IvanFogel commented 2026-11-13 14:52:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by IvanFogel on 2026-11-13T14:52:08Z.


What

December 4 rebase. Rebased the 26 commits from 1b2570f65d5f onto main c1e5709defeb. The driver header retains the upstream submission pacing entry point and the native depth restore entry point. The replay test executable accepts upstream’s multisample fault mode and both native-depth repeat counts.

The project rebase verifier flags six line differences on the two lines registering and describing those modes. I checked both conflict resolutions against an independently constructed tree and compared the added and removed lines across all 25 feature files. All 26 commit messages and authors are preserved, including the three empty commits.

The overlap check against main fa20db33be9e found six line conflicts with open PRs and 98 peers it could not compare automatically. Inspecting their shared paths found no competing native-depth capture or restore implementation. #28844 adds a byte counter in the replay summary and will need to keep both summary changes if composed. The PR remains a draft.

December 3 rebase. Rebased all 26 commits from ad8479cc9503 onto main b97867d3ce6b. In DepthSurface.cpp, the result keeps main’s relocated depth and stencil slice helpers alongside the native-depth graph check. The project rebase verifier passed for the new head 1b2570f65d5f, including all three intentionally empty commits.

The overlap scan covered 2,394 open PRs. Nine peers have confirmed line conflicts and 87 needed manual comparison. I found no duplicate of the native capture/restore implementation in the reported patches. Two new conflicts need attention if those changes land. #28566 also changes depth clear state during reset. #28667 changes retirement of reused multisample HTILE beside this PR’s partial-residency code. This PR remains a draft.

Capture GPU-only single-sample native depth/stencil planes with their companion ownership in the version-2 depth companion file. Reconstruct the captured graph and relative binding order for each repeated replay window, preflight predictable failures before discarding live state, and fail unsupported paths explicitly. This builds on #17338, already merged into main; it does not add new rendering or capture policy in this refresh.

November 27 actual rebase. Exact candidate ad8479cc9503af14d78c75070b38eb97da0988a8 rebases published 16d931b5c01f76df84fda400a157de28f5b05d67 onto main 2b6c1b0445281444f24bd2ba3205d1f7cf9f0a97. All 26 original nonmerge commit subjects, authors and messages are retained, including three intentionally empty commits. The old public head is backed up locally; updating it requires an exact-old-head force-with-lease. Production feature added/removed lines are unchanged. The five conflict resolutions retain both main's replay dispatch/usage and native-repeat cases, both state-test mode groups, main's NanSpeculationCounters.hpp and the feature's NativeDepthCapture.hpp, and each replay registration once. Shared replay registrations stay at their current-main location. Main's expanded BUILD documentation is retained: the old feature delta in that file was exactly one deleted ASCII space.

The project rebase verifier records 26→26 commits but 27 line-delta diagnostics, in four replay-registration/usage/documentation contexts (3/3/20/1). It does not pass automatically. Manual line-level reconciliation, exact accepted-tree equality, unique registration counts and the tests below cover those intentional differences. No outside open feature was imported.

Overlap and Draft gates. The exact-head canonical scan inspected 2199 open heads and retained exit 2: 121 reported peers, 115 automatically uncomparable. Fresh pinned shared-source inspection found no definition of the native capture-family entrypoints; this is bounded source evidence, not a clean scan, author agreement, or joint runtime qualification. The recorded layered-depth/nonzero-layer capture, GCN multisample geometry, replay fault-dispatch, finisher/quiescence, readiness/profiling and platform composition gates remain. See the retained historical evidence for original pins; keep Draft.

Tested

December 4, Linux Release on NVIDIA RTX 3070 Ti (620.73.04). All 31 focused default-mode tests passed on c37339b0964b. This includes the upstream multisample-depth fault case, refusal before replay mutates state, and HTILE metadata wholly inside, partially inside, and outside the restored range. All ten default-mode controls passed on c1e5709defeb. There were no skips or Vulkan validation errors in either default-mode run. Replay review

With APS5_PARALLEL_ATLAS=1, main passed two of three controls and the candidate passed two of five. Single-sample depth replay failed on both. The candidate’s repeat-2 and repeat-3 cases hit the same primary draw-state failure. Adding #27875 (478dec33c359) to this candidate passed all five focused checks with pooling off and all five with pooling on. These were headless Linux renderer fixtures.

December 3, Linux Release. On an NVIDIA RTX 3070 Ti with driver 620.73.04, all 27 focused tests passed on 1b2570f65d5f in default mode, including D16S8 copy and layered sampling. All six default-mode controls passed on main b97867d3ce6b. The 25 candidate tests that opened Vulkan loaded the Khronos validation layer. There were no skips or validation errors in the default-mode run.

With APS5_PARALLEL_ATLAS=1, main passed two of three controls. The candidate passed two of five. Single-sample depth replay failed on both. The candidate’s repeat-2 and repeat-3 cases reported the same draw-state validation errors. Combining this head with the separate renderer fix #27875 (478dec33c359) passed all five focused tests with the pool off and all five with the pool on, without skips or validation errors. The evidence below retains the original commits and platforms for the earlier runs.

November 27 parallel-draw check. After #19697 landed, I tested this PR with main 0421b7a725dc on the RTX 3070 Ti. All 20 default-mode cases passed. With APS5_PARALLEL_ATLAS=1, 8 of 10 passed. The repeat-two and repeat-three cases hit Vulkan validation errors while drawing the original capture, before replay. On unmodified main, agc_driver_frame_replay_single_sample_depth also passed with the option off and failed with it on. A local patch that invalidates cached primary command state after executing a secondary command buffer passed all 31 follow-up runs, including both failing cases. The published replay branch remains at ad8479cc9503. The standalone renderer fix and its regression test are in #27875. Upstream recorder · Vulkan command-buffer state

November 27 exact-head paired qualification. Candidate ad8479cc9503af14d78c75070b38eb97da0988a8, main 2b6c1b0445281444f24bd2ba3205d1f7cf9f0a97; separate private builds on the same NVIDIA GeForce RTX 3070 Ti, NVIDIA 620.73.04, CachyOS Linux 7.3.5-2, GCC 16.2.1, Khronos validation 1.4.363 (Vulkan headers require 1.4.335). Generated native revision stamps independently match each exact commit with dirty=0.

  • Main: 268 pass + 1 capability skip / 269 selected executions (213 real-Vulkan passes, 55 host/mock controls). Candidate: 289 pass + 1 capability skip / 290 selected executions (233 real-Vulkan passes, 56 host/mock controls). Every shared case ran on both trees. The sole matching skip, agc_driver_stencil_ref_export, initializes Vulkan/validation but reports the device lacks VK_EXT_shader_stencil_export; that capability remains unverified. All other selected tests pass.
  • Both runs require Vulkan and disable the shader cache, except the explicit cold-pipeline cache-contract case on each pin. Raw logs record 299 main and 330 candidate layer insertions, no missing layer, VUID/SYNC diagnostic, or unavailable counter. Maximum test time 11.153s, below 30s. These are correctness checks, with no performance claim.
  • Coverage retains native depth/stencil capture, partial-residency preflight, companion ownership, repeated restoration, recorder exclusion, rewind/reset, cold pipelines and current main depth/stencil/storage regressions. All 21 feature-added CTest names are retained uniquely.
  • With ICD discovery hidden, all 14 existing review cases skip when Vulkan is optional and all 14 fail when it is required. These deliberate no-device controls are separate from hardware qualification.
  • Strict replay restores nine surfaces from each of three retained captures (prior writer and both residency-flag encodings). A freshly compiled MinGW GCC 16.2.0 Win64 CPU codec passes under wine-11.22 (Staging); Wine CPU coverage is not native Windows Vulkan verification.
  • 7 skip/public-header CTests pass; 11 AGC public headers compile independently. Current conventions and whitespace checks pass. Original source/module checkouts and build caches remain unchanged.

Native Windows Vulkan, another physical GPU vendor, console equivalence and Minecraft Dungeons II progression were not rerun on this exact head. Earlier external and author results retain their original pins below and are not relabeled as this qualification. A preliminary baseline with an unknown dirty stamp was stopped and excluded; only the rebuilt clean-stamp run is counted.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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 (prerequisite #17338 is merged; peer-composition gates remain)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 3070 Ti, NVIDIA 620.73.04, CachyOS Linux
  • AI-assisted: yes
Historical evidence and peer gates — original exact pins, not November 27 results

What

November 25 main refresh. Exact candidate 16d931b5c01f76df84fda400a157de28f5b05d67 merges main 9c0d60cbfb6e4561762604d7b8a7365f15bf2f76 while preserving published head e4e558cda704b9f1fcf258d27081e8c813e5a786 and its full history. The only manual conflict keeps both independent helpers in DepthSurface.cpp: native replay's RequireNativeDepthGraph and main's stencilSlice. Both bodies are byte-identical to their respective parents. All added/removed lines in this feature's 26-file diff remain identical to the prior feature diff; this refresh adds no new capture or rendering policy.

The current exact-branch overlap scan covered 2664 open heads at main 9c0d60cbfb6e4561762604d7b8a7365f15bf2f76 and returned exit 2: 131 peers reported, with 120 automatically uncomparable results retained. Fresh pinned shared-source inspection found no implementation of this capture family's entry points in those peers. That bounded inspection does not establish a clean scan, author agreement or joint runtime qualification. Keep Draft and the recorded integration gates. Current #24083 (df5230ee4da7) remains an independent layered-depth feature: future composition must adapt replay cleanup to its owner container and qualify nonzero image-layer capture/restoration or explicitly refuse unsupported capture. #25557's GCN plane sizes, #26298's split replay success/fault assertions and multisample_depth_faults dispatch entry alongside this branch's native-depth cases and the driver finisher/readiness/profiling peers likewise require qualified unions if they land. None was imported here or added as a prerequisite.

November 22, after #17338 merged. Main contains the full prerequisite through 28e7214eb247, merged in c2d5df0371b8. This branch now includes main 70cca973b49f. I kept the three prerequisite debt entries in their canonical location and removed this branch's temporary copy. The remaining 26-file diff adds capture and restoration of native depth and stencil on top of the landed repeat reset.

Commit e4e558cda704 passed 230/230 (179 real Vulkan, 51 host) focused CTest executions. The same machine passed all 209/209 (159 real Vulkan, 50 host) shared controls on main. Coverage includes replay rewind, partially resident planes, repeated native ownership restoration, the landed cross-identity depth-retirement case and multisample color ownership. The shader cache was disabled except for the explicit cold-pipeline cache test on each tree. With ICD discovery disabled, all 14 cases in the Windows review skipped when Vulkan was optional and failed when required. Strict replay restored nine native depth surfaces for each of three retained captures, and the freshly built Win64 codec passed under Wine. Native Windows Vulkan and Minecraft Dungeons II progression were outside this run. This PR remains Draft.

Every GPU case used an NVIDIA GeForce RTX 3070 Ti, driver 620.73.04, on CachyOS Linux with Khronos validation 1.4.363. The verbose logs recorded 247 layer insertions on the standalone commit and 216 on main. All selected hardware runs completed without skips or VUID or synchronization diagnostics. The seven public-header and skip checks passed, and 11 AGC headers compiled independently.

November 21 refresh. I integrated main 6f5c412af786 into this branch, retaining the full history of #17338 through 28e7214eb247. The standalone candidate 53674f53fa87 passed 228/228 focused CTest executions (177 with Vulkan, 51 host controls). Main passed all 192 shared cases (146 with Vulkan). Coverage included native depth and stencil capture, partially resident pages, repeated replay restoration, recorder state and the cold-pipeline cache contract. The shader cache was disabled except for that one explicit cache-contract test on both trees.

I also reran the 14 no-device cases reported in the Windows review using the Linux binaries from this refreshed commit, with the Vulkan ICD hidden. All 14 skipped when Vulkan was optional and all 14 failed when it was required. Strict replay also restored all nine native depth surfaces from each of three retained captures, covering the prior writer and both flag encodings. The standalone Win64 codec built from this commit with MinGW and passed under Wine. The earlier native Windows observations retain their original commits. At the time of the November 21 run, #17338 was still open.

Test machine: NVIDIA GeForce RTX 3070 Ti, driver 620.73.04, CachyOS Linux, GCC 16.2.1, Khronos validation 1.4.363. Every GPU case required real Vulkan and logged validation-layer insertion (244 insertions on this branch). Both hardware runs had zero skips and zero VUID or synchronization diagnostics. The six skip-audit cases and public-header audit passed, and 11 AGC headers compiled independently.

Partially resident depth and stencil. The frame recorder now retains both per-plane residency flags from the title's depth target in the version-2 companion file. Replay validates each flagged plane's guest mapping before discarding the previous window. A fully mapped partially resident surface keeps its original access rules on replay.

Earlier joint replay integration at 45f8766d98. That head retained the full history of #17338 through 28e7214eb2 and main fd7fe562ed. The three conflicting files contained relocated, identical helpers or test registrations. The resolution keeps each rewind mode once alongside the native-depth repeat cases.

Frame captures currently lack the GPU-only single-sample native depth/stencil contents and companion ownership needed to begin replay from the captured state. Serialize the native planes in the version-2 depth companion file and reconstruct their plane bits, companion graph and relative depth/stencil binding order.

Compose with #17338's generic guest-memory reset so every accepted repeated replay window starts from the captured guest bytes and native graph. Retain the same Vulkan device and warmed pipelines; retire previous-window owners safely even when sampled views retain old resources. Preflight predictable schema/device/value failures before discarding live state, select the exact current image view during reconstruction, invalidate captured-range HTILE metadata, and abort partial restoration without publishing a successful next pass.

Main now includes #17338’s guest-memory transaction and reset, preserving the original authorship. This PR adds native depth capture and replay on top of that implementation.

Limits remain explicit in debt: GPU-only native depth with HTILE or multiple samples is refused; companions must have matching extents/formats; restoration requires the same host depth format, at most 1 GiB per plane and 4 GiB decoded total. Unsupported float values on devices without unrestricted depth range fail preflight. Repeated restoration rebuilds fresh native owner state; it does not convert host formats or recover from device loss. Once destructive restoration begins, an exceptional failure aborts replay rather than rolling back the preceding window. Cleanup after a secondary persistent failure remains best effort. Legacy captures without native depth data retain guest-only replay.

The Linux replay prerequisite requires the kernel write watch and quiescent submitters/mappers. Ordinary live-rendering shared-stencil publication and the recorded Lavapipe 26.2.6 cross-aspect-copy limitation remain outside this capture-boundary fix. No console-equivalence, title-unblock or speed claim; the Minecraft Dungeons II report #15113 has not been rerun.

Optional-GPU capture and repeated-replay tests now return the standard CTest skip code when no Vulkan device is available. Required-Vulkan runs retain failure behavior.

Replay reset now invalidates HTILE copy provenance for every restored interval even when captured bytes are unchanged. Partial overlaps retain their outside prefix/tail, and global native-surface discard preserves uncaptured copy records, including an already-bound outside target. Native serialized capture with HTILE remains unsupported as stated above.

2026-11-17 integration: submitted head 44973024f9a5269062da6baf4bf79735e12991c4 merges tested main 050cdf95addcb05b1c663587ab921216707623fe and preserves the full original prerequisite histories. The shared helper conflict retains main's claim-release counter together with feature owner-inventory/reset helpers and the retirement forward declaration; current attachment-memo, collect-sharing, MSAA-upload and capture-shutdown behavior is preserved.

Trial-merging this commit (e4e558cda704) with the layered depth rendering in #24083 (0e6e513f9d16) exposed two conflicts in DepthSurface.cpp. If #24083 lands first, replay cleanup must use its per-slice drawnDepths list and preserve the residency checks that run before restoration changes device state. The capture and restore paths currently copy image layer zero. Before combining these changes, test capture, restoration and repeated replay with distinct depth and stencil values on a nonzero layer, or explicitly reject that case. Each branch merged independently with main at 933038b0f34c. The combined paths have only been inspected in source.

Tested

November 25 qualification — exact pins above. Linux 7.3.5-2-cachyos x86_64 GNU/Linux, GCC 16.2.1; NVIDIA GeForce RTX 3070 Ti, driver 620.73.04, Khronos validation 1.4.363 (Vulkan headers require patch 335). Both standalone trees were built and tested in separate private copies.

  • Main: 257 passed, 1 capability skip across 258 selected focused CTest executions (205 with real Vulkan, 52 host/mock controls). Candidate: 278 passed, 1 capability skip across 279 selected pass (225 with real Vulkan, 53 host/mock controls). Every shared test runs on both trees. No failures, missing layers, or VUID/SYNC diagnostics; the same agc_driver_stencil_ref_export case initializes Vulkan and validation but skips on both trees because this device lacks VK_EXT_shader_stencil_export. That capability is not verified here. All other selected cases pass; maximum per test 10.796s. Raw logs record 279 main and 310 candidate validation-layer insertions. Required Vulkan, the same GPU/device selection and cache-off settings were used, except the explicit cold-pipeline cache-contract case on each tree. This is correctness evidence, not a speed claim.
  • The selection retains native depth/stencil capture, partial-residency preflight, companion graph/ownership, repeated restoration, recorder exclusion, rewind/reset, cold pipelines, and the matched current depth/stencil/storage regressions.
  • On the candidate's Linux binaries with ICD discovery hidden, all 14 existing review cases skip when Vulkan is optional and all 14 fail when Vulkan is required. These are deliberate no-device controls, separate from the zero-skip hardware runs.
  • Strict replay restores all nine native surfaces from each of the three retained captures: the prior writer and both residency-flag encodings. A freshly compiled Win64 CPU codec passes under Wine; this does not establish native Windows Vulkan behavior.
  • A separate disposable merge 35fa6270ab23a8edc09fd717186ba543e6cca69a of this candidate with subsequent main 1cd6df7381c6537f7efb2e90913c1a708e5ab140 passes all 12 focused native capture/repeat-replay and FMASK/shader controls, with no skips or VUID/SYNC diagnostics. The new main changes are bounded to FMASK descriptor/expansion paths, with shared MSAA guard callers; no outside feature is imported into the public candidate and its paired baseline remains the exact pin above.
  • 7 current skip/public-header CTests pass, and 11 AGC public headers compile independently. Current conventions, debt/whitespace checks, merge/history and feature-equivalence proofs pass. Original source checkouts, module worktrees and build caches stayed unchanged.

Native Windows Vulkan, another GPU vendor, physical-console equivalence and Minecraft Dungeons II progression remain untested. Previous qualification paragraphs below retain their original exact commits; they are not relabeled as this refresh's results.

The November 22 standalone test results above are for e4e558cda704 on main 70cca973b49f.

November 22 tested revisions. Standalone e4e558cda704b9f1fcf258d27081e8c813e5a786 and main 70cca973b49f92baf7e731f85f6b6c3fed775a25.

Residency regression at 1ef12611dbb5, compared with main 7d2270cb862e. The old implementation failed three regression checks. The codec lost independently set depth and stencil flags, a real Vulkan frame recording lost the mapped depth surface's flag, and replay preflight accepted a flagged plane backed by reserved guest pages. On the corrected head, the codec and real recorder preserve the flags, and preflight distinguishes mapped from reserved depth and stencil before changing replay state.

On CachyOS Linux with a GeForce RTX 3070 Ti, NVIDIA 620.70.06 and Khronos validation 1.4.363, all 53 matched controls passed on both main and this change. This change passed 36 additional cases, for 89 total. The selection includes the recorder flush-exclusion test, six map-gate controls, strict native capture and repeated replay. Verbose logs showed the validation layer loaded in 25 main cases and 56 change cases. Zero skips, missing layers or VUID/SYNC diagnostics. Vulkan was required and the shader cache was disabled.

The upstream graphics suite also passed on both commits. Its mock Vulkan depth-surface fixture checks partially resident depth, stencil and HTILE mappings through the ordinary draw path.

Strict replay with both real readers restored nine surfaces from an older capture and from a new capture with both flags clear. For a new capture with a residency flag set, the earlier reader explicitly reported unknown target flags; this reader restored all nine surfaces. The Win64 CPU codec test also passed under Wine 11.22 Staging (MinGW-w64 GCC 16.2.0). Native Windows Vulkan replay, a second physical GPU vendor and the Minecraft Dungeons II report remain untested here.

November 20 at 45f8766d98. On a GeForce RTX 3070 Ti, NVIDIA 620.70.06, CachyOS Linux, all 47 matched CTests passed on main and the integrated change. The change additionally passed 35 branch-specific cases, for 82 total. This includes repeated native depth/stencil restoration through two and three replay windows. 19 main cases and 49 change cases logged a real Vulkan layer insertion. Both runs required Vulkan, disabled the shader cache and used Khronos validation 1.4.363. There were zero skips, missing layers or VUID/SYNC diagnostics. The longest test took 9.74 seconds on the integrated change. Native Windows, commercial-title playback and another GPU vendor were outside this local run.

Latest source-scoped peer feedback, 2026-11-17: #22018 (91684d451c1b) adds unmap-only pending-storage invalidation. Future composition must add that marking at the actual unmap entry, preserve this branch's guarded retirement/reset transaction and the peer's observer/pending-layer logic, and keep ordinary owner replacement distinct from unmapping. #22181 (da111246be6a) adds Windows page-rounded commit spans and sub-page replay coverage; that Windows composition remains unqualified here. Preserve serialized range identity and native companion restoration while applying its page-span behavior. Existing #22028 write-watch baseline/race, #22029/#22156 copy/label ordering, GPU-permission, retirement and HTILE gates also remain, including when bot rows disappear. These exact-source observations are not fresh joint-peer or native Windows tests, a serializer duplicate, or an agreed outside landing order. The tested head and Draft state are unchanged.

2026-11-17 exact-head qualification: 44973024f9a5269062da6baf4bf79735e12991c4 against main 050cdf95addcb05b1c663587ab921216707623fe.

  • 229/229 selected candidate CTests pass. 170 real-Vulkan cases, 51 host controls, one explicit cache-on cold-pipeline contract and 7 tooling/header CTests pass. The 222 runtime cases retain all 153 previously selected cases and add 69 current-main controls; 139 GPU, 46 host and the cache/tooling groups match main directly.
  • Aggregate main baseline: 146 Vulkan cases, 49 host controls, one cache contract and 7 tooling checks pass. Shared per-test environments were compared; no selected skips, missing validation layers or new VUID-/SYNC- diagnostics. Raw logs contain no such validation errors on either side, and every selected case finishes below 30 seconds.
  • NVIDIA GeForce RTX3070Ti / driver620.70.06, CachyOS Linux7.3.4, GCC16.2.1, Khronos validation1.4.363 actually inserted. Real Vulkan is required; shader cache is off except the explicit cold-pipeline contract on both pins. Host cohorts create no Vulkan contexts.
  • Affected AGC headers compile independently; conventions, whitespace and scoped/global debt checks pass. Independent integration review found no required source changes. Original checkout and all 47 initialized module worktrees were restored exactly.

Exact pins, matched controls, per-test results and full verbose validation logs.

Keep Draft for #17338 and the recorded replay/capture/ownership peer-composition gates. The November 20 run covers the current #17338 head on Linux. No author agreement is claimed. Native Windows/macOS, another GPU vendor, commercial titles, console parity and performance improvements were not established. Older external and peer-composition receipts below retain their original pins.

The historical fourteen no-device failures were corrected before this refresh. New peer warnings for GPU-only allocation capture, owner retirement, HTILE sizing, lost write-watch pages and restore ordering remain explicit future composition obligations, rather than results inferred from this main merge.

Historical exact-head qualification

2026-11-16 replay integration refresh — exact submitted/tested head 595b6129ab0d3bc10b57b01af75162945e1683c8, main d7e14b62b5bc826d761e418d79cf06fad54a752b. Merge main into the existing draft, preserving its original prerequisite history, native-depth capture/reset implementation and bounded REWIND control scanner. Keep main's new tail-read barrier, queue-qualified released-tail tracking and command-write preparation before delta writes. Both test function groups, dispatch modes and CMake registration/environment groups survive the conflict resolution.

Fresh Linux main: 117/117 focused cases pass. Exact candidate: 153/153 pass (102 Vulkan contexts and 51 host cases), plus 7/7 tooling/public-header cases. No selected skips, unavailable counters, missing validation layers or VUID/SYNC diagnostics; every case finishes below 30 s. The matched groups add current-main rewind_page, rewind_reuse, rewind_shared_tail, rewind_settled_tail, five unwatch/snapshot-scope cases, pending-write snapshot and shadowed-key cases to the prior native-depth/replay contract. Original HTILE-copy, partial reset, ownership/retirement, control-boundary and failure cases remain.

NVIDIA GeForce RTX 3070 Ti, driver 620.70.06, CachyOS Linux / GCC 16.2.1 Release, Khronos 1.4.363; real Vulkan required, layer actually inserted per Vulkan case. Shader cache is off except the explicit cold-pipeline cache contract, run with caching enabled on both pins. Source review found no material integration defect. Native Windows, macOS, console/title behavior and performance were not rerun; old external results below retain their original pins.

Current conventions and committed whitespace pass, and all applicable AGC debt fragments fold in the scoped control. The global fold repeats the pinned main's unrelated stale NKWebKit selector failure; that inherited failure remains explicit. Draft status and existing external prerequisite/integration gates remain. A later mechanical merge check against main dcf3d15978c8334342ed2f65faa4bc0e3b436198 is clean. Those later changes were not rerun as a combined runtime build. Full exact-head logs, baseline/candidate comparison, review and preservation evidence.

Historical qualification at its original exact commits

2026-11-15 texture integration refresh — exact submitted head 72e9d69b8626f4f7b05628740c9f17e1053a47c4, matched tested main 4de1f9cd83fbdf92c4ff8a1cac5d55e9244a1008. Integrates current-main texture upload and pending-collect changes. The two-file conflict preserves both independent test hooks, their atomics/setters and the complete flush-exclusion implementation. Both merge parents and exact #17338 prerequisite 0523b51913c421ea7ba8bae6393c6e22ae692bee retain their original ancestry/authorship. All 32 non-merge range-diff entries are unchanged; this does not claim unchanged overall AGC bytes, because upstream source advanced. Keep Draft and the existing dependency/integration limitations.

  • Fresh main 119/119, candidate 155/155, and tooling 7/7 pass: 281 selected executions. Candidate has 72 matched and 31 native-specific cache-off real-Vulkan cases, 51 host/mock/codec controls and one real-Vulkan cache-contract case. The explicit cache contract enables caching on each pin; all other GPU cases disable it.
  • NVIDIA GeForce RTX 3070 Ti / 620.70.06 / CachyOS Linux 7.3.4-1-cachyos / GCC 16.2.1 Release / Khronos validation 1.4.363. Every real-GPU case actually inserts the requested layer; no selected skips, missing layers or VUID/SYNC diagnostics. fifo_latest_ready requested. Every selected case finishes below 30 s; maximum 9.82569 s in public_headers. This is correctness/timeout evidence, not FPS.
  • Thirteen additional matched regressions cover pending collect, carried shadow, changed-copy modes, input mirrors, native color readback/snapshots, GPU waiter yields and imported sampled-texture upload. The specific agc_copied_direct_ordering case executes its required uploaded from its host import without a wait marker on both pins; an internal early-return pass is not accepted. Full per-test ctest -V logs are compared against main.
  • Fresh whole-contribution review found no concrete source blocker. Its missing imported-upload qualification was completed, and stale provenance fields were reconciled; dispositions are attached. Conventions against fresh origin/main, debt-fold and whitespace pass. Later main fe172a971f7dccbe70e17b2b2a5100c724eabbcd merges cleanly with no intervening AGC/shader/guest-allocator/rules/submodule change; this is a separate mechanical/input check, not a runtime test on that later composition. Existing overlap/dependency caveats remain; no fresh clean canonical overlap scan or author agreement is claimed.
  • Depth-plane CPU-store coverage executes; native multisample unavailable counters are 0. Host mapping-history heap-mirror subcases remain unexecuted. Component-level partial-upload injection is not full-CLI rollback coverage. Dedicated actual GPU-only HTILE/MS serialized-refusal coverage and a second provenance-specific reset remain gaps. Native Windows/macOS AGC, other GPUs, device loss/OOM/destructive rollback, console/title behavior and performance are not newly established. Historical external and hosted results below retain their older exact pins and were not rerun on this head. Automatic hosted checks for this head are tracked separately.

Fresh logs, exact pins, elapsed audit, merge resolution, independent review and root dispositions. Original shared checkout, 36 module heads, 92 unrelated branches and the existing ten untracked source caches are restored/preserved.

Qualification before this main refresh (historical exact commits)

2026-11-15 refresh after merged #20523 — exact submitted head a7bbeeeec01c34f25f762bfce658f1180e156fb8, matched tested main b5bd8ceda003f0a42ebffebf4ed2769c0993f06b. The merge preserves all previously reviewed AGC driver/shader implementation, test and registration bytes from 46ab23733b10b6b8fd8852aea534912a8a278139 and the exact #17338 prerequisite 0523b51913c421ea7ba8bae6393c6e22ae692bee with its authorship. Keep Draft and the dependency/integration limits described above.

  • Fresh main 106/106 selected cases pass; fresh candidate 142/142 pass:59 matched plus31 native-specific cache-off Vulkan cases,51 host/mock/codec controls and one real-Vulkan cache-contract case. The single cache-contract intentionally enables caching on each pin; all other GPU cases disable it.
  • NVIDIA RTX3070Ti620.70.06 / CachyOS Linux7.3.4-1-cachyos / GCC16.2.1 Release / Khronos validation1.4.363. Every real GPU case inserts the requested layer, with no selected CTest skips, missing layers or VUID/SYNC diagnostics; fifo_latest_ready requested. All255 selected executions, including main/candidate and tooling, finish below30s; maximum9.315s in public_headers. This is correctness and timeout evidence, not FPS.
  • The six merged skip-audit CTest entries and public_headers pass (7/7). This incorporates the partition addressing the old macOS check_skips timeout; these new local runs do not claim native macOS testing. Automatic hosted CI on this head is tracked separately.
  • Depth-plane CPU-store coverage executes and native multisample counters report unavailable=0. Host mapping-history fixtures still report unexecuted heap-mirror subcases. The controlled upload injection remains component-level; a dedicated actual GPU-only HTILE/MS serialized-refusal fixture and a second provenance-specific reset remain coverage gaps. Native Windows/macOS AGC, other GPUs, OOM/device loss/destructive rollback, console/title behavior and performance are not newly established. Earlier external reports and RED/negative controls retain their older exact pins.
  • Independent whole-contribution review found no Critical/Important source issue; the optional second provenance-reset extension remains deferred. Conventions, whitespace and debt-fold checks pass. Later main ef6a94fb54e6c3644d0563fbac66eddbf8b29145 merges cleanly and has no intervening changes in the inspected AGCDriver/shader/replay allocator/write-watch, rules or submodule inputs. This is a separate mechanical/source check; the runtime base is the pinned main above. Previous canonical overlap/integration caveats remain historical, with no new clean scan or author agreement claimed.

Hosted macOS relinker/tooling CI on this exact head, merged onto main ef6a94fb54e6c3644d0563fbac66eddbf8b29145, passed 838/838 CTest cases. All six skip-audit entries pass; the largest partition took 3.60s, clearing the prior timeout failure on this refreshed head. This is native macOS relinker/tooling evidence, separate from the local NVIDIA AGC qualification; it does not establish macOS AGC GPU behavior. Windows checks remain tracked by live CI.

Full fresh logs, exact pins, coverage observations, elapsed audit and independent review. Original shared checkout and existing module/cache state were restored and preserved.

Qualification before this main refresh (historical exact commits)

2026-11-15 — exact submitted head 46ab23733b10b6b8fd8852aea534912a8a278139, tested main def59e9943803f14c8570d5a57eef95d90dab52c. Current #17338 dependency is 0523b51913c421ea7ba8bae6393c6e22ae692bee, with original authorship retained. The main refresh preserves all reviewed AGC/shader implementation, test and build bytes from bb3a7b081cf347fb1e04345cfdf25b812a3a1d38 / corrected production ba916e4c926ea6d271e36f69cafc8a56f0f3d883.

  • Fresh main: 106/106 selected cases pass (59 cache-off real Vulkan, 46 host/mock/codec, one real-Vulkan cache contract). Fresh candidate: 142/142 pass (59 matched plus 31 candidate-only cache-off real Vulkan, 51 host/mock/codec, one cache contract). The cache-contract case intentionally enables shader cache; the other GPU cases disable it. Host controls are not GPU evidence.
  • NVIDIA RTX 3070 Ti / 620.70.06 / CachyOS Linux 7.3.4-1-cachyos, GCC 16.2.1 Release, Khronos validation 1.4.363. Every real GPU case actually inserts the requested layer; no selected CTest skips, missing layers or VUID/SYNC errors. fifo_latest_ready requested. All cases complete below 30 seconds; candidate maximum 9.96 s.
  • All four scoped copy-provenance modes pass. Attached earlier exact-pin test-only RED and global-clear/contained-only negative controls establish why global clearing and contained-only invalidation are insufficient. At source-identical parent bb3a7b081cf347fb1e04345cfdf25b812a3a1d38, 18 optional no-device controls skip and 18 required controls fail intentionally; these are separate from the 142 real-environment passes.
  • Coverage retains pending owners, preflight preservation, one-plane-completed upload failure, held view identity, companion/stencil order, parked-zero REWIND and actual CLI repeat-2/repeat-3. The upload injection is component-level, not a full-CLI injected failure. Host mapping-history fixtures report unavailable heap-mirror subcases; complete heap-mirror coverage is not claimed. Native multisample counters report unavailable=0. No dedicated actual GPU-only HTILE/multisample serialized-capture-refusal fixture, native Windows/macOS, device-loss/rollback/OOM injection, console, title or FPS proof is claimed.
  • Fresh independent corrected-source review has no Critical/Important finding. Canonical overlap scan recorded 1,510 heads at main 6ad1fe8a7196823f1048a10f4713e355a6f61afe, 123 peers and fail-closed exit 2. All 46 new/changed peer scopes have bounded exact-head manual reviews; 77 retain earlier exact heads and equal/subset shared paths. No equivalent full native capture/reset feature was found; partial helper/control-store overlaps and async/owner/flush/format/cache integration obligations remain. This is not a clean canonical exit, combined all-peer runtime proof or author agreement. Draft and Depends on #17338 remain.
  • Conventions, whitespace and debt-fold checks pass. Historical external GPU/Windows reports below retain their exact old pins and were not rerun on this head.

Full current-main/candidate logs, elapsed audit, RED controls and pinned overlap reviews.

Historical qualification at its original exact commits

Latest feedback correction: candidate 8bd80d8b899036be69ad007e4540ca1eae20c911, with main snapshot 5891d14d99b55999a211613839f9e8dcac31aeff. The merge preserves the exact prerequisite ancestry and changes zero AGC source bytes; the correction then changes only three test files.

  • Reproduced the reported failure on published head 435adaa2c9eaef470821623db9234a334461ef37: all 14 affected tests fail with no usable Vulkan ICD. On the corrected candidate, all 14 skip when Vulkan is optional; all 14 still fail when ANYPS5_REQUIRE_VULKAN=1. No shared-helper, rendering or replay implementation change.
  • Real Vulkan rerun on this machine: published head 28/28, pinned main 5/5 and current candidate 28/28 selected CTests pass. Candidate logs contain 38 actual validation-layer insertions. Full per-test logs are compared against both runs, with matching insertion counts, no skips/missing requested layers and no VUID/SYNC errors. The same cache-off, fifo_latest_ready and explicit validation environment is used. Hardware/software are the Linux NVIDIA configuration recorded below.
  • Fresh independent read-only review of the complete feedback correction found no material issue. Second-device-only absence was reviewed statically, not separately injected. Conventions and whitespace checks pass.
  • Current canonical overlap scan fetches/probes 1,522 open heads and reports 116 peers, failing closed on automatically uncompared conflicts. 114 head/path sets exactly match the earlier manual audit. Updated #9508's bindless texture header and new #19610's macOS test guards/documentation were inspected at frozen heads; neither duplicates native capture/reset or this skip correction. This is manual scope clearance, not a clean canonical exit, all-peer runtime proof or author agreement. Draft/Depends on #17338 remain.
  • Native Windows/macOS and the external reviewers' GPU reports were not rerun on this new head. The shared Windows ICU-conversion timeouts and clock-test abort are not claimed fixed. No title-unblock or speed claim.

Latest no-Vulkan controls, matched real-GPU logs, review and overlap qualification.

Earlier qualification of published 435adaa2c9 follows as historical evidence; the exact-dependency baseline below was not freshly rerun for this test-only correction:

Fresh source pins on 2026-11-13: candidate 435adaa2c9eaef470821623db9234a334461ef37, main c76eb6a26433216e2219fa9937e9cd57254be272, exact-dependency baseline ae52fc7af21862cc919b499263db08f80eac0a30.

CachyOS/Arch Linux x86-64, kernel 7.3.3-1-cachyos, GCC 16.2.1 Release; NVIDIA GeForce RTX 3070 Ti, driver 620.70.06, Khronos validation layer 1.4.363. All 28 selected candidate CTests pass, with 38 actual validation-layer insertions and no skips. The five matched-main and eleven exact-dependency cases also pass. Full per-test CTest logs are compared against both baselines: no missing requested layers and no new VUID/SYNC errors. Real Vulkan is required, shader cache is disabled and fifo_latest_ready is requested.

Coverage includes schema/bounds/companion serialization, retained and retired-view identity, repeated resets, preflight preservation, production partial-upload cleanup after one completed plane, warmed pipelines, orphan HTILE range isolation, and actual mutating CLI repeat-2/repeat-3 workloads. The component failure injection is not an injected full exported-CLI failure. Windows, macOS, physical-console parity and commercial-title behavior were not tested.

Fresh baseline/candidate full logs and qualifications.

The fresh-main merge leaves the candidate AGC tree unchanged. The old and refreshed dependency-relative binary patches are byte-identical, SHA-256 a110c0d9b120713c6691ff4ba4d3f0db4f13021e75a587489547ba628859b00e; all 18 own range-diff entries match. python3 -B tools/check_conventions.py --base c76eb6a26433216e2219fa9937e9cd57254be272 and git diff --check pass on the refreshed candidate.

The completed canonical overlap scan fetched 1,506 open PRs, probed 1,505 other heads, selected 313 sharing files/exports and reported 120 peers. It failed closed on 114 automatically uncompared conflicting peers. Every reported peer number, full head SHA and shared-path set is unchanged from the prior full 120-peer manual audit (63 even/57 odd); no new or changed peer delta required inspection. That audit found no duplicate native snapshot/restore feature. This is manual duplicate-scope clearance, not a clean canonical exit or an all-peer merge/runtime claim. Complementary layered/async/alias/held-view and recorder-store interactions retain their documented future composition obligations. Keep this PR Draft with Depends on #17338 and no agreement claim.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5297616917 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557). Originally posted by [IvanFogel](https://github.com/IvanFogel) on 2026-11-13T14:52:08Z. --- ### What **December 4 rebase.** Rebased the 26 commits from `1b2570f65d5f` onto main `c1e5709defeb`. The driver header retains the upstream submission pacing entry point and the native depth restore entry point. The replay test executable accepts upstream’s multisample fault mode and both native-depth repeat counts. The project rebase verifier flags six line differences on the two lines registering and describing those modes. I checked both conflict resolutions against an independently constructed tree and compared the added and removed lines across all 25 feature files. All 26 commit messages and authors are preserved, including the three empty commits. The overlap check against main `fa20db33be9e` found six line conflicts with open PRs and 98 peers it could not compare automatically. Inspecting their shared paths found no competing native-depth capture or restore implementation. #28844 adds a byte counter in the replay summary and will need to keep both summary changes if composed. The PR remains a draft. **December 3 rebase.** Rebased all 26 commits from `ad8479cc9503` onto main `b97867d3ce6b`. In `DepthSurface.cpp`, the result keeps main’s relocated depth and stencil slice helpers alongside the native-depth graph check. The project rebase verifier passed for the new head `1b2570f65d5f`, including all three intentionally empty commits. The overlap scan covered 2,394 open PRs. Nine peers have confirmed line conflicts and 87 needed manual comparison. I found no duplicate of the native capture/restore implementation in the reported patches. Two new conflicts need attention if those changes land. #28566 also changes depth clear state during reset. #28667 changes retirement of reused multisample HTILE beside this PR’s partial-residency code. This PR remains a draft. Capture GPU-only single-sample native depth/stencil planes with their companion ownership in the version-2 depth companion file. Reconstruct the captured graph and relative binding order for each repeated replay window, preflight predictable failures before discarding live state, and fail unsupported paths explicitly. This builds on #17338, already merged into main; it does not add new rendering or capture policy in this refresh. **November 27 actual rebase.** Exact candidate `ad8479cc9503af14d78c75070b38eb97da0988a8` rebases published `16d931b5c01f76df84fda400a157de28f5b05d67` onto main `2b6c1b0445281444f24bd2ba3205d1f7cf9f0a97`. All 26 original nonmerge commit subjects, authors and messages are retained, including three intentionally empty commits. The old public head is backed up locally; updating it requires an exact-old-head force-with-lease. Production feature added/removed lines are unchanged. The five conflict resolutions retain both main's replay dispatch/usage and native-repeat cases, both state-test mode groups, main's `NanSpeculationCounters.hpp` and the feature's `NativeDepthCapture.hpp`, and each replay registration once. Shared replay registrations stay at their current-main location. Main's expanded BUILD documentation is retained: the old feature delta in that file was exactly one deleted ASCII space. The project rebase verifier records **26→26 commits but 27 line-delta diagnostics**, in four replay-registration/usage/documentation contexts (3/3/20/1). It does not pass automatically. Manual line-level reconciliation, exact accepted-tree equality, unique registration counts and the tests below cover those intentional differences. No outside open feature was imported. **Overlap and Draft gates.** The exact-head canonical scan inspected 2199 open heads and retained exit 2: 121 reported peers, 115 automatically uncomparable. Fresh pinned shared-source inspection found no definition of the native capture-family entrypoints; this is bounded source evidence, not a clean scan, author agreement, or joint runtime qualification. The recorded layered-depth/nonzero-layer capture, GCN multisample geometry, replay fault-dispatch, finisher/quiescence, readiness/profiling and platform composition gates remain. See the retained historical evidence for original pins; keep Draft. ### Tested **December 4, Linux Release on NVIDIA RTX 3070 Ti (620.73.04).** All 31 focused default-mode tests passed on `c37339b0964b`. This includes the upstream multisample-depth fault case, refusal before replay mutates state, and HTILE metadata wholly inside, partially inside, and outside the restored range. All ten default-mode controls passed on `c1e5709defeb`. There were no skips or Vulkan validation errors in either default-mode run. [Replay review](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6179756964) With `APS5_PARALLEL_ATLAS=1`, main passed two of three controls and the candidate passed two of five. Single-sample depth replay failed on both. The candidate’s repeat-2 and repeat-3 cases hit the same primary draw-state failure. Adding #27875 (`478dec33c359`) to this candidate passed all five focused checks with pooling off and all five with pooling on. These were headless Linux renderer fixtures. **December 3, Linux Release.** On an NVIDIA RTX 3070 Ti with driver 620.73.04, all 27 focused tests passed on `1b2570f65d5f` in default mode, including D16S8 copy and layered sampling. All six default-mode controls passed on main `b97867d3ce6b`. The 25 candidate tests that opened Vulkan loaded the Khronos validation layer. There were no skips or validation errors in the default-mode run. With `APS5_PARALLEL_ATLAS=1`, main passed two of three controls. The candidate passed two of five. Single-sample depth replay failed on both. The candidate’s repeat-2 and repeat-3 cases reported the same draw-state validation errors. Combining this head with the separate renderer fix #27875 (`478dec33c359`) passed all five focused tests with the pool off and all five with the pool on, without skips or validation errors. The evidence below retains the original commits and platforms for the earlier runs. **November 27 parallel-draw check.** After #19697 landed, I tested this PR with main `0421b7a725dc` on the RTX 3070 Ti. All 20 default-mode cases passed. With `APS5_PARALLEL_ATLAS=1`, 8 of 10 passed. The repeat-two and repeat-three cases hit Vulkan validation errors while drawing the original capture, before replay. On unmodified main, `agc_driver_frame_replay_single_sample_depth` also passed with the option off and failed with it on. A local patch that invalidates cached primary command state after executing a secondary command buffer passed all 31 follow-up runs, including both failing cases. The published replay branch remains at `ad8479cc9503`. The standalone renderer fix and its regression test are in #27875. [Upstream recorder](https://github.com/boykopovar/AnyPS5/blob/0421b7a725dc1278b8a452ce6e4f6604a231ff26/core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp#L1672) · [Vulkan command-buffer state](https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#commandbuffers) **November 27 exact-head paired qualification.** Candidate `ad8479cc9503af14d78c75070b38eb97da0988a8`, main `2b6c1b0445281444f24bd2ba3205d1f7cf9f0a97`; separate private builds on the same NVIDIA GeForce RTX 3070 Ti, NVIDIA 620.73.04, CachyOS Linux 7.3.5-2, GCC 16.2.1, Khronos validation 1.4.363 (Vulkan headers require 1.4.335). Generated native revision stamps independently match each exact commit with dirty=0. - Main: **268 pass + 1 capability skip** / 269 selected executions (213 real-Vulkan passes, 55 host/mock controls). Candidate: **289 pass + 1 capability skip** / 290 selected executions (233 real-Vulkan passes, 56 host/mock controls). Every shared case ran on both trees. The sole matching skip, `agc_driver_stencil_ref_export`, initializes Vulkan/validation but reports `the device lacks VK_EXT_shader_stencil_export`; that capability remains unverified. All other selected tests pass. - Both runs require Vulkan and disable the shader cache, except the explicit cold-pipeline cache-contract case on each pin. Raw logs record 299 main and 330 candidate layer insertions, no missing layer, VUID/SYNC diagnostic, or unavailable counter. Maximum test time 11.153s, below 30s. These are correctness checks, with no performance claim. - Coverage retains native depth/stencil capture, partial-residency preflight, companion ownership, repeated restoration, recorder exclusion, rewind/reset, cold pipelines and current main depth/stencil/storage regressions. All 21 feature-added CTest names are retained uniquely. - With ICD discovery hidden, all 14 existing review cases skip when Vulkan is optional and all 14 fail when it is required. These deliberate no-device controls are separate from hardware qualification. - Strict replay restores nine surfaces from each of three retained captures (prior writer and both residency-flag encodings). A freshly compiled MinGW GCC 16.2.0 Win64 CPU codec passes under wine-11.22 (Staging); Wine CPU coverage is not native Windows Vulkan verification. - 7 skip/public-header CTests pass; 11 AGC public headers compile independently. Current conventions and whitespace checks pass. Original source/module checkouts and build caches remain unchanged. Native Windows Vulkan, another physical GPU vendor, console equivalence and Minecraft Dungeons II progression were not rerun on this exact head. Earlier external and author results retain their original pins below and are not relabeled as this qualification. A preliminary baseline with an unknown dirty stamp was stopped and excluded; only the rebuilt clean-stamp run is counted. <!-- 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) and the licence notice of code adapted from upstream (see AGENTS.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 (prerequisite #17338 is merged; peer-composition gates remain) <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: NVIDIA GeForce RTX 3070 Ti, NVIDIA 620.73.04, CachyOS Linux <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no --> <details> <summary>Historical evidence and peer gates — original exact pins, not November 27 results</summary> ### What **November 25 main refresh.** Exact candidate `16d931b5c01f76df84fda400a157de28f5b05d67` merges main `9c0d60cbfb6e4561762604d7b8a7365f15bf2f76` while preserving published head `e4e558cda704b9f1fcf258d27081e8c813e5a786` and its full history. The only manual conflict keeps both independent helpers in `DepthSurface.cpp`: native replay's `RequireNativeDepthGraph` and main's `stencilSlice`. Both bodies are byte-identical to their respective parents. All added/removed lines in this feature's 26-file diff remain identical to the prior feature diff; this refresh adds no new capture or rendering policy. The current exact-branch overlap scan covered 2664 open heads at main `9c0d60cbfb6e4561762604d7b8a7365f15bf2f76` and returned exit 2: 131 peers reported, with 120 automatically uncomparable results retained. Fresh pinned shared-source inspection found no implementation of this capture family's entry points in those peers. That bounded inspection does not establish a clean scan, author agreement or joint runtime qualification. Keep Draft and the recorded integration gates. Current #24083 (`df5230ee4da7`) remains an independent layered-depth feature: future composition must adapt replay cleanup to its owner container and qualify nonzero image-layer capture/restoration or explicitly refuse unsupported capture. #25557's GCN plane sizes, #26298's split replay success/fault assertions and `multisample_depth_faults` dispatch entry alongside this branch's native-depth cases and the driver finisher/readiness/profiling peers likewise require qualified unions if they land. None was imported here or added as a prerequisite. **November 22, after #17338 merged.** Main contains the full prerequisite through `28e7214eb247`, merged in `c2d5df0371b8`. This branch now includes main `70cca973b49f`. I kept the three prerequisite debt entries in their canonical location and removed this branch's temporary copy. The remaining 26-file diff adds capture and restoration of native depth and stencil on top of the landed repeat reset. Commit `e4e558cda704` passed 230/230 (179 real Vulkan, 51 host) focused CTest executions. The same machine passed all 209/209 (159 real Vulkan, 50 host) shared controls on main. Coverage includes replay rewind, partially resident planes, repeated native ownership restoration, the landed cross-identity depth-retirement case and multisample color ownership. The shader cache was disabled except for the explicit cold-pipeline cache test on each tree. With ICD discovery disabled, all 14 cases in the Windows review skipped when Vulkan was optional and failed when required. Strict replay restored nine native depth surfaces for each of three retained captures, and the freshly built Win64 codec passed under Wine. Native Windows Vulkan and Minecraft Dungeons II progression were outside this run. This PR remains Draft. Every GPU case used an NVIDIA GeForce RTX 3070 Ti, driver 620.73.04, on CachyOS Linux with Khronos validation 1.4.363. The verbose logs recorded 247 layer insertions on the standalone commit and 216 on main. All selected hardware runs completed without skips or VUID or synchronization diagnostics. The seven public-header and skip checks passed, and 11 AGC headers compiled independently. **November 21 refresh.** I integrated main `6f5c412af786` into this branch, retaining the full history of #17338 through `28e7214eb247`. The standalone candidate `53674f53fa87` passed 228/228 focused CTest executions (177 with Vulkan, 51 host controls). Main passed all 192 shared cases (146 with Vulkan). Coverage included native depth and stencil capture, partially resident pages, repeated replay restoration, recorder state and the cold-pipeline cache contract. The shader cache was disabled except for that one explicit cache-contract test on both trees. I also reran the 14 no-device cases reported in the Windows review using the Linux binaries from this refreshed commit, with the Vulkan ICD hidden. All 14 skipped when Vulkan was optional and all 14 failed when it was required. Strict replay also restored all nine native depth surfaces from each of three retained captures, covering the prior writer and both flag encodings. The standalone Win64 codec built from this commit with MinGW and passed under Wine. The earlier native Windows observations retain their original commits. At the time of the November 21 run, #17338 was still open. Test machine: NVIDIA GeForce RTX 3070 Ti, driver 620.73.04, CachyOS Linux, GCC 16.2.1, Khronos validation 1.4.363. Every GPU case required real Vulkan and logged validation-layer insertion (244 insertions on this branch). Both hardware runs had zero skips and zero VUID or synchronization diagnostics. The six skip-audit cases and public-header audit passed, and 11 AGC headers compiled independently. **Partially resident depth and stencil.** The frame recorder now retains both per-plane residency flags from the title's depth target in the version-2 companion file. Replay validates each flagged plane's guest mapping before discarding the previous window. A fully mapped partially resident surface keeps its original access rules on replay. **Earlier joint replay integration at `45f8766d98`.** That head retained the full history of #17338 through `28e7214eb2` and main `fd7fe562ed`. The three conflicting files contained relocated, identical helpers or test registrations. The resolution keeps each rewind mode once alongside the native-depth repeat cases. Frame captures currently lack the GPU-only single-sample native depth/stencil contents and companion ownership needed to begin replay from the captured state. Serialize the native planes in the version-2 depth companion file and reconstruct their plane bits, companion graph and relative depth/stencil binding order. Compose with #17338's generic guest-memory reset so every accepted repeated replay window starts from the captured guest bytes and native graph. Retain the same Vulkan device and warmed pipelines; retire previous-window owners safely even when sampled views retain old resources. Preflight predictable schema/device/value failures before discarding live state, select the exact current image view during reconstruction, invalidate captured-range HTILE metadata, and abort partial restoration without publishing a successful next pass. Main now includes #17338’s guest-memory transaction and reset, preserving the original authorship. This PR adds native depth capture and replay on top of that implementation. Limits remain explicit in debt: GPU-only native depth with HTILE or multiple samples is refused; companions must have matching extents/formats; restoration requires the same host depth format, at most 1 GiB per plane and 4 GiB decoded total. Unsupported float values on devices without unrestricted depth range fail preflight. Repeated restoration rebuilds fresh native owner state; it does not convert host formats or recover from device loss. Once destructive restoration begins, an exceptional failure aborts replay rather than rolling back the preceding window. Cleanup after a secondary persistent failure remains best effort. Legacy captures without native depth data retain guest-only replay. The Linux replay prerequisite requires the kernel write watch and quiescent submitters/mappers. Ordinary live-rendering shared-stencil publication and the recorded Lavapipe 26.2.6 cross-aspect-copy limitation remain outside this capture-boundary fix. No console-equivalence, title-unblock or speed claim; the Minecraft Dungeons II report #15113 has not been rerun. Optional-GPU capture and repeated-replay tests now return the standard CTest skip code when no Vulkan device is available. Required-Vulkan runs retain failure behavior. Replay reset now invalidates HTILE copy provenance for every restored interval even when captured bytes are unchanged. Partial overlaps retain their outside prefix/tail, and global native-surface discard preserves uncaptured copy records, including an already-bound outside target. Native serialized capture with HTILE remains unsupported as stated above. **2026-11-17 integration:** submitted head `44973024f9a5269062da6baf4bf79735e12991c4` merges tested main `050cdf95addcb05b1c663587ab921216707623fe` and preserves the full original prerequisite histories. The shared helper conflict retains main's claim-release counter together with feature owner-inventory/reset helpers and the retirement forward declaration; current attachment-memo, collect-sharing, MSAA-upload and capture-shutdown behavior is preserved. Trial-merging this commit (`e4e558cda704`) with the layered depth rendering in #24083 (`0e6e513f9d16`) exposed two conflicts in `DepthSurface.cpp`. If #24083 lands first, replay cleanup must use its per-slice `drawnDepths` list and preserve the residency checks that run before restoration changes device state. The capture and restore paths currently copy image layer zero. Before combining these changes, test capture, restoration and repeated replay with distinct depth and stencil values on a nonzero layer, or explicitly reject that case. Each branch merged independently with main at `933038b0f34c`. The combined paths have only been inspected in source. ### Tested **November 25 qualification — exact pins above.** Linux 7.3.5-2-cachyos x86_64 GNU/Linux, GCC 16.2.1; NVIDIA GeForce RTX 3070 Ti, driver 620.73.04, Khronos validation 1.4.363 (Vulkan headers require patch 335). Both standalone trees were built and tested in separate private copies. - Main: **257 passed, 1 capability skip** across 258 selected focused CTest executions (205 with real Vulkan, 52 host/mock controls). Candidate: **278 passed, 1 capability skip** across 279 selected pass (225 with real Vulkan, 53 host/mock controls). Every shared test runs on both trees. No failures, missing layers, or VUID/SYNC diagnostics; the same `agc_driver_stencil_ref_export` case initializes Vulkan and validation but skips on both trees because this device lacks `VK_EXT_shader_stencil_export`. That capability is not verified here. All other selected cases pass; maximum per test 10.796s. Raw logs record 279 main and 310 candidate validation-layer insertions. Required Vulkan, the same GPU/device selection and cache-off settings were used, except the explicit cold-pipeline cache-contract case on each tree. This is correctness evidence, not a speed claim. - The selection retains native depth/stencil capture, partial-residency preflight, companion graph/ownership, repeated restoration, recorder exclusion, rewind/reset, cold pipelines, and the matched current depth/stencil/storage regressions. - On the candidate's Linux binaries with ICD discovery hidden, all 14 existing review cases skip when Vulkan is optional and all 14 fail when Vulkan is required. These are deliberate no-device controls, separate from the zero-skip hardware runs. - Strict replay restores all nine native surfaces from each of the three retained captures: the prior writer and both residency-flag encodings. A freshly compiled Win64 CPU codec passes under Wine; this does not establish native Windows Vulkan behavior. - A separate disposable merge `35fa6270ab23a8edc09fd717186ba543e6cca69a` of this candidate with subsequent main `1cd6df7381c6537f7efb2e90913c1a708e5ab140` passes all 12 focused native capture/repeat-replay and FMASK/shader controls, with no skips or VUID/SYNC diagnostics. The new main changes are bounded to FMASK descriptor/expansion paths, with shared MSAA guard callers; no outside feature is imported into the public candidate and its paired baseline remains the exact pin above. - 7 current skip/public-header CTests pass, and 11 AGC public headers compile independently. Current conventions, debt/whitespace checks, merge/history and feature-equivalence proofs pass. Original source checkouts, module worktrees and build caches stayed unchanged. Native Windows Vulkan, another GPU vendor, physical-console equivalence and Minecraft Dungeons II progression remain untested. Previous qualification paragraphs below retain their original exact commits; they are not relabeled as this refresh's results. The November 22 standalone test results above are for `e4e558cda704` on main `70cca973b49f`. **November 22 tested revisions.** Standalone `e4e558cda704b9f1fcf258d27081e8c813e5a786` and main `70cca973b49f92baf7e731f85f6b6c3fed775a25`. **Residency regression at `1ef12611dbb5`, compared with main `7d2270cb862e`.** The old implementation failed three regression checks. The codec lost independently set depth and stencil flags, a real Vulkan frame recording lost the mapped depth surface's flag, and replay preflight accepted a flagged plane backed by reserved guest pages. On the corrected head, the codec and real recorder preserve the flags, and preflight distinguishes mapped from reserved depth and stencil before changing replay state. On CachyOS Linux with a GeForce RTX 3070 Ti, NVIDIA 620.70.06 and Khronos validation 1.4.363, all 53 matched controls passed on both main and this change. This change passed 36 additional cases, for 89 total. The selection includes the recorder flush-exclusion test, six map-gate controls, strict native capture and repeated replay. Verbose logs showed the validation layer loaded in 25 main cases and 56 change cases. Zero skips, missing layers or VUID/SYNC diagnostics. Vulkan was required and the shader cache was disabled. The upstream graphics suite also passed on both commits. Its mock Vulkan depth-surface fixture checks partially resident depth, stencil and HTILE mappings through the ordinary draw path. Strict replay with both real readers restored nine surfaces from an older capture and from a new capture with both flags clear. For a new capture with a residency flag set, the earlier reader explicitly reported `unknown target flags`; this reader restored all nine surfaces. The Win64 CPU codec test also passed under Wine 11.22 Staging (MinGW-w64 GCC 16.2.0). Native Windows Vulkan replay, a second physical GPU vendor and the Minecraft Dungeons II report remain untested here. **November 20 at `45f8766d98`.** On a GeForce RTX 3070 Ti, NVIDIA 620.70.06, CachyOS Linux, all 47 matched CTests passed on main and the integrated change. The change additionally passed 35 branch-specific cases, for 82 total. This includes repeated native depth/stencil restoration through two and three replay windows. 19 main cases and 49 change cases logged a real Vulkan layer insertion. Both runs required Vulkan, disabled the shader cache and used Khronos validation 1.4.363. There were zero skips, missing layers or VUID/SYNC diagnostics. The longest test took 9.74 seconds on the integrated change. Native Windows, commercial-title playback and another GPU vendor were outside this local run. **Latest source-scoped peer feedback, 2026-11-17:** #22018 (`91684d451c1b`) adds unmap-only pending-storage invalidation. Future composition must add that marking at the actual unmap entry, preserve this branch's guarded retirement/reset transaction and the peer's observer/pending-layer logic, and keep ordinary owner replacement distinct from unmapping. #22181 (`da111246be6a`) adds Windows page-rounded commit spans and sub-page replay coverage; that Windows composition remains unqualified here. Preserve serialized range identity and native companion restoration while applying its page-span behavior. Existing #22028 write-watch baseline/race, #22029/#22156 copy/label ordering, GPU-permission, retirement and HTILE gates also remain, including when bot rows disappear. These exact-source observations are not fresh joint-peer or native Windows tests, a serializer duplicate, or an agreed outside landing order. The tested head and Draft state are unchanged. **2026-11-17 exact-head qualification:** `44973024f9a5269062da6baf4bf79735e12991c4` against main `050cdf95addcb05b1c663587ab921216707623fe`. - **229/229** selected candidate CTests pass. 170 real-Vulkan cases, 51 host controls, one explicit cache-on cold-pipeline contract and 7 tooling/header CTests pass. The 222 runtime cases retain all 153 previously selected cases and add 69 current-main controls; 139 GPU, 46 host and the cache/tooling groups match main directly. - Aggregate main baseline: 146 Vulkan cases, 49 host controls, one cache contract and 7 tooling checks pass. Shared per-test environments were compared; no selected skips, missing validation layers or new `VUID-`/`SYNC-` diagnostics. Raw logs contain no such validation errors on either side, and every selected case finishes below 30 seconds. - NVIDIA GeForce RTX3070Ti / driver620.70.06, CachyOS Linux7.3.4, GCC16.2.1, Khronos validation1.4.363 actually inserted. Real Vulkan is required; shader cache is off except the explicit cold-pipeline contract on both pins. Host cohorts create no Vulkan contexts. - Affected AGC headers compile independently; conventions, whitespace and scoped/global debt checks pass. Independent integration review found no required source changes. Original checkout and all 47 initialized module worktrees were restored exactly. [Exact pins, matched controls, per-test results and full verbose validation logs](https://gist.github.com/IvanFogel/0c5c3dabc0120d691e121c269b33da97). Keep Draft for #17338 and the recorded replay/capture/ownership peer-composition gates. The November 20 run covers the current #17338 head on Linux. No author agreement is claimed. Native Windows/macOS, another GPU vendor, commercial titles, console parity and performance improvements were not established. Older external and peer-composition receipts below retain their original pins. The historical fourteen no-device failures were corrected before this refresh. New peer warnings for GPU-only allocation capture, owner retirement, HTILE sizing, lost write-watch pages and restore ordering remain explicit future composition obligations, rather than results inferred from this main merge. <details> <summary>Historical exact-head qualification</summary> **2026-11-16 replay integration refresh — exact submitted/tested head `595b6129ab0d3bc10b57b01af75162945e1683c8`, main `d7e14b62b5bc826d761e418d79cf06fad54a752b`.** Merge main into the existing draft, preserving its original prerequisite history, native-depth capture/reset implementation and bounded REWIND control scanner. Keep main's new tail-read barrier, queue-qualified released-tail tracking and command-write preparation before delta writes. Both test function groups, dispatch modes and CMake registration/environment groups survive the conflict resolution. Fresh Linux main: **117/117 focused cases pass**. Exact candidate: **153/153 pass** (102 Vulkan contexts and 51 host cases), plus **7/7 tooling/public-header cases**. No selected skips, unavailable counters, missing validation layers or VUID/SYNC diagnostics; every case finishes below 30 s. The matched groups add current-main `rewind_page`, `rewind_reuse`, `rewind_shared_tail`, `rewind_settled_tail`, five unwatch/snapshot-scope cases, pending-write snapshot and shadowed-key cases to the prior native-depth/replay contract. Original HTILE-copy, partial reset, ownership/retirement, control-boundary and failure cases remain. NVIDIA GeForce RTX 3070 Ti, driver 620.70.06, CachyOS Linux / GCC 16.2.1 Release, Khronos 1.4.363; real Vulkan required, layer actually inserted per Vulkan case. Shader cache is off except the explicit cold-pipeline cache contract, run with caching enabled on both pins. Source review found no material integration defect. Native Windows, macOS, console/title behavior and performance were not rerun; old external results below retain their original pins. Current conventions and committed whitespace pass, and all applicable AGC debt fragments fold in the scoped control. The global fold repeats the pinned main's unrelated stale NKWebKit selector failure; that inherited failure remains explicit. Draft status and existing external prerequisite/integration gates remain. A later mechanical merge check against main `dcf3d15978c8334342ed2f65faa4bc0e3b436198` is clean. Those later changes were not rerun as a combined runtime build. [Full exact-head logs, baseline/candidate comparison, review and preservation evidence](https://gist.github.com/IvanFogel/5560f53954c3226c681e89953f58ac3b). <details> <summary>Historical qualification at its original exact commits</summary> **2026-11-15 texture integration refresh — exact submitted head `72e9d69b8626f4f7b05628740c9f17e1053a47c4`, matched tested main `4de1f9cd83fbdf92c4ff8a1cac5d55e9244a1008`.** Integrates current-main texture upload and pending-collect changes. The two-file conflict preserves both independent test hooks, their atomics/setters and the complete flush-exclusion implementation. Both merge parents and exact #17338 prerequisite `0523b51913c421ea7ba8bae6393c6e22ae692bee` retain their original ancestry/authorship. All 32 non-merge range-diff entries are unchanged; this does not claim unchanged overall AGC bytes, because upstream source advanced. Keep Draft and the existing dependency/integration limitations. - Fresh main **119/119**, candidate **155/155**, and tooling **7/7** pass: **281** selected executions. Candidate has 72 matched and 31 native-specific cache-off real-Vulkan cases, 51 host/mock/codec controls and one real-Vulkan cache-contract case. The explicit cache contract enables caching on each pin; all other GPU cases disable it. - NVIDIA GeForce RTX 3070 Ti / 620.70.06 / CachyOS Linux 7.3.4-1-cachyos / GCC 16.2.1 Release / Khronos validation 1.4.363. Every real-GPU case actually inserts the requested layer; no selected skips, missing layers or VUID/SYNC diagnostics. fifo_latest_ready requested. Every selected case finishes below 30 s; maximum 9.82569 s in public_headers. This is correctness/timeout evidence, not FPS. - Thirteen additional matched regressions cover pending collect, carried shadow, changed-copy modes, input mirrors, native color readback/snapshots, GPU waiter yields and imported sampled-texture upload. The specific agc_copied_direct_ordering case executes its required **uploaded from its host import without a wait** marker on both pins; an internal early-return pass is not accepted. Full per-test ctest -V logs are compared against main. - Fresh whole-contribution review found no concrete source blocker. Its missing imported-upload qualification was completed, and stale provenance fields were reconciled; dispositions are attached. Conventions against fresh origin/main, debt-fold and whitespace pass. Later main `fe172a971f7dccbe70e17b2b2a5100c724eabbcd` merges cleanly with no intervening AGC/shader/guest-allocator/rules/submodule change; this is a separate mechanical/input check, not a runtime test on that later composition. Existing overlap/dependency caveats remain; no fresh clean canonical overlap scan or author agreement is claimed. - Depth-plane CPU-store coverage executes; native multisample unavailable counters are 0. Host mapping-history heap-mirror subcases remain unexecuted. Component-level partial-upload injection is not full-CLI rollback coverage. Dedicated actual GPU-only HTILE/MS serialized-refusal coverage and a second provenance-specific reset remain gaps. Native Windows/macOS AGC, other GPUs, device loss/OOM/destructive rollback, console/title behavior and performance are not newly established. Historical external and hosted results below retain their older exact pins and were not rerun on this head. Automatic hosted checks for this head are tracked separately. [Fresh logs, exact pins, elapsed audit, merge resolution, independent review and root dispositions](https://gist.github.com/IvanFogel/d7041eee6f6ba32773956154a0f79d96). Original shared checkout, 36 module heads, 92 unrelated branches and the existing ten untracked source caches are restored/preserved. <details> <summary>Qualification before this main refresh (historical exact commits)</summary> **2026-11-15 refresh after merged #20523 — exact submitted head `a7bbeeeec01c34f25f762bfce658f1180e156fb8`, matched tested main `b5bd8ceda003f0a42ebffebf4ed2769c0993f06b`.** The merge preserves all previously reviewed AGC driver/shader implementation, test and registration bytes from `46ab23733b10b6b8fd8852aea534912a8a278139` and the exact #17338 prerequisite `0523b51913c421ea7ba8bae6393c6e22ae692bee` with its authorship. Keep Draft and the dependency/integration limits described above. - Fresh main **106/106** selected cases pass; fresh candidate **142/142** pass:59 matched plus31 native-specific cache-off Vulkan cases,51 host/mock/codec controls and one real-Vulkan cache-contract case. The single cache-contract intentionally enables caching on each pin; all other GPU cases disable it. - NVIDIA RTX3070Ti620.70.06 / CachyOS Linux7.3.4-1-cachyos / GCC16.2.1 Release / Khronos validation1.4.363. Every real GPU case inserts the requested layer, with no selected CTest skips, missing layers or VUID/SYNC diagnostics; fifo_latest_ready requested. All255 selected executions, including main/candidate and tooling, finish below30s; maximum9.315s in public_headers. This is correctness and timeout evidence, not FPS. - The six merged skip-audit CTest entries and public_headers pass (**7/7**). This incorporates the partition addressing the [old macOS check_skips timeout](https://github.com/boykopovar/AnyPS5/actions/runs/43688615750/job/132734750868); these new local runs do not claim native macOS testing. Automatic hosted CI on this head is tracked separately. - Depth-plane CPU-store coverage executes and native multisample counters report unavailable=0. Host mapping-history fixtures still report unexecuted heap-mirror subcases. The controlled upload injection remains component-level; a dedicated actual GPU-only HTILE/MS serialized-refusal fixture and a second provenance-specific reset remain coverage gaps. Native Windows/macOS AGC, other GPUs, OOM/device loss/destructive rollback, console/title behavior and performance are not newly established. Earlier external reports and RED/negative controls retain their older exact pins. - Independent whole-contribution review found no Critical/Important source issue; the optional second provenance-reset extension remains deferred. Conventions, whitespace and debt-fold checks pass. Later main `ef6a94fb54e6c3644d0563fbac66eddbf8b29145` merges cleanly and has no intervening changes in the inspected AGCDriver/shader/replay allocator/write-watch, rules or submodule inputs. This is a separate mechanical/source check; the runtime base is the pinned main above. Previous canonical overlap/integration caveats remain historical, with no new clean scan or author agreement claimed. <!-- hosted-macos-post-skip-audit --> Hosted [macOS relinker/tooling CI](https://github.com/boykopovar/AnyPS5/actions/runs/43702076618/job/132775248786) on this exact head, merged onto main `ef6a94fb54e6c3644d0563fbac66eddbf8b29145`, passed **838/838 CTest cases**. All six skip-audit entries pass; the largest partition took **3.60s**, clearing the prior timeout failure on this refreshed head. This is native macOS relinker/tooling evidence, separate from the local NVIDIA AGC qualification; it does not establish macOS AGC GPU behavior. Windows checks remain tracked by live CI. <!-- /hosted-macos-post-skip-audit --> [Full fresh logs, exact pins, coverage observations, elapsed audit and independent review](https://gist.github.com/IvanFogel/41a528d3a705f3f868b38cef74d71e48). Original shared checkout and existing module/cache state were restored and preserved. <details> <summary>Qualification before this main refresh (historical exact commits)</summary> **2026-11-15 — exact submitted head `46ab23733b10b6b8fd8852aea534912a8a278139`, tested main `def59e9943803f14c8570d5a57eef95d90dab52c`.** Current #17338 dependency is `0523b51913c421ea7ba8bae6393c6e22ae692bee`, with original authorship retained. The main refresh preserves all reviewed AGC/shader implementation, test and build bytes from `bb3a7b081cf347fb1e04345cfdf25b812a3a1d38` / corrected production `ba916e4c926ea6d271e36f69cafc8a56f0f3d883`. - Fresh main: **106/106** selected cases pass (59 cache-off real Vulkan, 46 host/mock/codec, one real-Vulkan cache contract). Fresh candidate: **142/142** pass (59 matched plus 31 candidate-only cache-off real Vulkan, 51 host/mock/codec, one cache contract). The cache-contract case intentionally enables shader cache; the other GPU cases disable it. Host controls are not GPU evidence. - NVIDIA RTX 3070 Ti / 620.70.06 / CachyOS Linux 7.3.4-1-cachyos, GCC 16.2.1 Release, Khronos validation 1.4.363. Every real GPU case actually inserts the requested layer; no selected CTest skips, missing layers or VUID/SYNC errors. fifo_latest_ready requested. All cases complete below 30 seconds; candidate maximum 9.96 s. - All four scoped copy-provenance modes pass. Attached earlier exact-pin test-only RED and global-clear/contained-only negative controls establish why global clearing and contained-only invalidation are insufficient. At source-identical parent `bb3a7b081cf347fb1e04345cfdf25b812a3a1d38`, 18 optional no-device controls skip and 18 required controls fail intentionally; these are separate from the 142 real-environment passes. - Coverage retains pending owners, preflight preservation, one-plane-completed upload failure, held view identity, companion/stencil order, parked-zero REWIND and actual CLI repeat-2/repeat-3. The upload injection is component-level, not a full-CLI injected failure. Host mapping-history fixtures report unavailable heap-mirror subcases; complete heap-mirror coverage is not claimed. Native multisample counters report unavailable=0. No dedicated actual GPU-only HTILE/multisample serialized-capture-refusal fixture, native Windows/macOS, device-loss/rollback/OOM injection, console, title or FPS proof is claimed. - Fresh independent corrected-source review has no Critical/Important finding. Canonical overlap scan recorded 1,510 heads at main `6ad1fe8a7196823f1048a10f4713e355a6f61afe`, 123 peers and fail-closed exit 2. All 46 new/changed peer scopes have bounded exact-head manual reviews; 77 retain earlier exact heads and equal/subset shared paths. No equivalent full native capture/reset feature was found; partial helper/control-store overlaps and async/owner/flush/format/cache integration obligations remain. This is not a clean canonical exit, combined all-peer runtime proof or author agreement. Draft and Depends on #17338 remain. - Conventions, whitespace and debt-fold checks pass. Historical external GPU/Windows reports below retain their exact old pins and were not rerun on this head. [Full current-main/candidate logs, elapsed audit, RED controls and pinned overlap reviews](https://gist.github.com/IvanFogel/71958cabbe6351002b0c343766232c16). <details> <summary>Historical qualification at its original exact commits</summary> Latest feedback correction: candidate `8bd80d8b899036be69ad007e4540ca1eae20c911`, with main snapshot `5891d14d99b55999a211613839f9e8dcac31aeff`. The merge preserves the exact prerequisite ancestry and changes zero AGC source bytes; the correction then changes only three test files. - Reproduced the reported failure on published head `435adaa2c9eaef470821623db9234a334461ef37`: all 14 affected tests fail with no usable Vulkan ICD. On the corrected candidate, all 14 skip when Vulkan is optional; all 14 still fail when ANYPS5_REQUIRE_VULKAN=1. No shared-helper, rendering or replay implementation change. - Real Vulkan rerun on this machine: published head 28/28, pinned main 5/5 and current candidate 28/28 selected CTests pass. Candidate logs contain 38 actual validation-layer insertions. Full per-test logs are compared against both runs, with matching insertion counts, no skips/missing requested layers and no VUID/SYNC errors. The same cache-off, fifo_latest_ready and explicit validation environment is used. Hardware/software are the Linux NVIDIA configuration recorded below. - Fresh independent read-only review of the complete feedback correction found no material issue. Second-device-only absence was reviewed statically, not separately injected. Conventions and whitespace checks pass. - Current canonical overlap scan fetches/probes 1,522 open heads and reports 116 peers, failing closed on automatically uncompared conflicts. 114 head/path sets exactly match the earlier manual audit. Updated #9508's bindless texture header and new #19610's macOS test guards/documentation were inspected at frozen heads; neither duplicates native capture/reset or this skip correction. This is manual scope clearance, not a clean canonical exit, all-peer runtime proof or author agreement. Draft/Depends on #17338 remain. - Native Windows/macOS and the external reviewers' GPU reports were not rerun on this new head. The shared Windows ICU-conversion timeouts and clock-test abort are not claimed fixed. No title-unblock or speed claim. [Latest no-Vulkan controls, matched real-GPU logs, review and overlap qualification](https://gist.github.com/IvanFogel/66bd1758f9aa19acd831265c01a61f04). Earlier qualification of published `435adaa2c9` follows as historical evidence; the exact-dependency baseline below was not freshly rerun for this test-only correction: Fresh source pins on 2026-11-13: candidate `435adaa2c9eaef470821623db9234a334461ef37`, main `c76eb6a26433216e2219fa9937e9cd57254be272`, exact-dependency baseline `ae52fc7af21862cc919b499263db08f80eac0a30`. CachyOS/Arch Linux x86-64, kernel 7.3.3-1-cachyos, GCC 16.2.1 Release; NVIDIA GeForce RTX 3070 Ti, driver 620.70.06, Khronos validation layer 1.4.363. All 28 selected candidate CTests pass, with 38 actual validation-layer insertions and no skips. The five matched-main and eleven exact-dependency cases also pass. Full per-test CTest logs are compared against both baselines: no missing requested layers and no new VUID/SYNC errors. Real Vulkan is required, shader cache is disabled and fifo_latest_ready is requested. Coverage includes schema/bounds/companion serialization, retained and retired-view identity, repeated resets, preflight preservation, production partial-upload cleanup after one completed plane, warmed pipelines, orphan HTILE range isolation, and actual mutating CLI repeat-2/repeat-3 workloads. The component failure injection is not an injected full exported-CLI failure. Windows, macOS, physical-console parity and commercial-title behavior were not tested. [Fresh baseline/candidate full logs and qualifications](https://gist.github.com/IvanFogel/66bd1758f9aa19acd831265c01a61f04). The fresh-main merge leaves the candidate AGC tree unchanged. The old and refreshed dependency-relative binary patches are byte-identical, SHA-256 `a110c0d9b120713c6691ff4ba4d3f0db4f13021e75a587489547ba628859b00e`; all 18 own range-diff entries match. `python3 -B tools/check_conventions.py --base c76eb6a26433216e2219fa9937e9cd57254be272` and `git diff --check` pass on the refreshed candidate. The completed canonical overlap scan fetched 1,506 open PRs, probed 1,505 other heads, selected 313 sharing files/exports and reported 120 peers. It failed closed on 114 automatically uncompared conflicting peers. Every reported peer number, full head SHA and shared-path set is unchanged from the prior full 120-peer manual audit (63 even/57 odd); no new or changed peer delta required inspection. That audit found no duplicate native snapshot/restore feature. This is manual duplicate-scope clearance, not a clean canonical exit or an all-peer merge/runtime claim. Complementary layered/async/alias/held-view and recorder-store interactions retain their documented future composition obligations. Keep this PR Draft with Depends on #17338 and no agreement claim. <!-- 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. --> </details> </details> </details> </details> </details> </details>
MarcZX10 commented 2026-11-20 07:04:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T07:04:47Z.

Review: COMMENTED


Reviewed — comments

This review is incomplete because several changed files were not fully inspected, so a formal decision is not justified.

What I ran

  • Reviewed the prepared bundle for head 45f8766d98ec3b65607cf0eb3b0cd31225ef3656; base is main.
  • Read the description, commit list, manifest, diff excerpts, and review folder README through repo_read.py tools. No tests were run.

Results

Check Result Note
Bundle inspection passed Description, commits, manifest and diff inspected
Source review not run Full changed-file review incomplete
Tests not run No commands executed

Findings

Blocking

None identified in the portions inspected.

Non-blocking

None recorded; source review was incomplete.

Not verified

The changed-file bundle lists 39 files. I did not read all added-line ranges required for a complete review. In particular, full text was excluded for core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp, core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp, core/libs/prx/libSceAgcDriver/tests/Recorder.cpp, and docs/dev/ENVIRONMENT.md; the code in these files was not verified. Other changed files and behavior not covered by the inspected diff excerpts also remain unverified. No tests were run. The author-reported test results in the description were not independently verified.

To get this to a good state

Complete review of the changed-line ranges for all files in the manifest, including the excluded files through the pinned reader, and run the relevant checks before making a formal review decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5988770588 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-5988770588). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T07:04:47Z. **Review:** COMMENTED --- # Reviewed — comments This review is incomplete because several changed files were not fully inspected, so a formal decision is not justified. ## What I ran - Reviewed the prepared bundle for head `45f8766d98ec3b65607cf0eb3b0cd31225ef3656`; base is `main`. - Read the description, commit list, manifest, diff excerpts, and review folder README through `repo_read.py` tools. No tests were run. ## Results | Check | Result | Note | |---|---|---| | Bundle inspection | passed | Description, commits, manifest and diff inspected | | Source review | not run | Full changed-file review incomplete | | Tests | not run | No commands executed | ## Findings ### Blocking None identified in the portions inspected. ### Non-blocking None recorded; source review was incomplete. ## Not verified The changed-file bundle lists 39 files. I did not read all added-line ranges required for a complete review. In particular, full text was excluded for `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`, `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`, `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`, and `docs/dev/ENVIRONMENT.md`; the code in these files was not verified. Other changed files and behavior not covered by the inspected diff excerpts also remain unverified. No tests were run. The author-reported test results in the description were not independently verified. ## To get this to a good state Complete review of the changed-line ranges for all files in the manifest, including the excluded files through the pinned reader, and run the relevant checks before making a formal review decision.
MarcZX10 commented 2026-11-20 08:02:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T08:02:19Z.

Review: COMMENTED


Reviewed — comments

The review is incomplete because several changed implementation and test files were not read; no formal merge decision is justified.

What I ran

No tests or build commands were run. I read the prepared description, commit list, manifest, diff excerpt, and selected source files at head 1ef12611dbb5b6250e6f0c1a694ea9b63d161f4a.

Results

Check Result Note
Source inspection not run Partial review only
Tests not run No commands run

Findings

Blocking

None verified in the code read.

Non-blocking

None.

Not verified

The description claims repeated replay restoration and depth/stencil residency handling; those claims were not fully checked. The full diff and manifest were not read. Changed files not read include VulkanDevice.cpp, Texture.cpp, Recorder.cpp, ENVIRONMENT.md, and multiple other implementation, test, build, and documentation files. No tests were run, and claims about their results are author-reported only. Files read: description.md, commits.md, manifest.json (excerpt), diff.patch (excerpt), NativeDepthCapture.cpp, EntryPoints.cpp, and Lifecycle.cpp (excerpt). Excluded from full-text review: changed files omitted by the bundle’s size rules and all other changed files not specifically read.

To get this to a good state

Nothing is required. Optional: complete source and test review of the changed files before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5989333063 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-5989333063). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T08:02:19Z. **Review:** COMMENTED --- # Reviewed — comments The review is incomplete because several changed implementation and test files were not read; no formal merge decision is justified. ## What I ran No tests or build commands were run. I read the prepared description, commit list, manifest, diff excerpt, and selected source files at head `1ef12611dbb5b6250e6f0c1a694ea9b63d161f4a`. ## Results | Check | Result | Note | |---|---|---| | Source inspection | not run | Partial review only | | Tests | not run | No commands run | ## Findings ### Blocking None verified in the code read. ### Non-blocking None. ## Not verified The description claims repeated replay restoration and depth/stencil residency handling; those claims were not fully checked. The full diff and manifest were not read. Changed files not read include `VulkanDevice.cpp`, `Texture.cpp`, `Recorder.cpp`, `ENVIRONMENT.md`, and multiple other implementation, test, build, and documentation files. No tests were run, and claims about their results are author-reported only. Files read: `description.md`, `commits.md`, `manifest.json` (excerpt), `diff.patch` (excerpt), `NativeDepthCapture.cpp`, `EntryPoints.cpp`, and `Lifecycle.cpp` (excerpt). Excluded from full-text review: changed files omitted by the bundle’s size rules and all other changed files not specifically read. ## To get this to a good state Nothing is required. Optional: complete source and test review of the changed files before making a formal decision.
MarcZX10 commented 2026-11-21 09:37:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T09:37:30Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this draft; the evidence inspected supports the change, with the noted verification limits.

What I ran

Reviewed head 53674f53fa87a846ea1e2b9d2af77545bd8fddbb. No build or tests were run. Read the prepared description, commit list, manifest, diff, and source through repo_read.py.

Results

Check Result Note
Source review passed Audited codec, capture, and replay paths
Build and tests not run Description reports author-run checks

Findings

Blocking

None identified in the code read.

Non-blocking

None.

Not verified

The description reports 228/228 focused candidate CTests and 192/192 shared main cases, plus Vulkan hardware validation and a Windows codec run under Wine; these were not independently run for this review. The full source was not read for every changed file. In particular, VulkanDevice.cpp, Texture.cpp, and tests/Recorder.cpp were excluded from the prepared full-text bundle; only targeted ranges were read where applicable. The other changed files were not all read in full. Native Windows Vulkan behavior, other GPU vendors, console behavior, and title playback were not verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004430321 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6004430321). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T09:37:30Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this draft; the evidence inspected supports the change, with the noted verification limits. ## What I ran Reviewed head `53674f53fa87a846ea1e2b9d2af77545bd8fddbb`. No build or tests were run. Read the prepared description, commit list, manifest, diff, and source through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Audited codec, capture, and replay paths | | Build and tests | not run | Description reports author-run checks | ## Findings ### Blocking None identified in the code read. ### Non-blocking None. ## Not verified The description reports 228/228 focused candidate CTests and 192/192 shared main cases, plus Vulkan hardware validation and a Windows codec run under Wine; these were not independently run for this review. The full source was not read for every changed file. In particular, `VulkanDevice.cpp`, `Texture.cpp`, and `tests/Recorder.cpp` were excluded from the prepared full-text bundle; only targeted ranges were read where applicable. The other changed files were not all read in full. Native Windows Vulkan behavior, other GPU vendors, console behavior, and title playback were not verified. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-22 10:17:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T10:17:15Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the points below are optional.

What I ran

Reviewed head e4e558cda704b9f1fcf258d27081e8c813e5a786. No commands or tests were run in this review; the CTest results in the PR description are author-reported.

Results

Check Result Note
Source review passed Core capture and replay paths inspected
Tests run by reviewer not run No test execution performed

Findings

Blocking

None.

Non-blocking

  • Native Windows Vulkan, another GPU vendor, and Minecraft Dungeons II behavior were not verified in this review; the description also identifies these as outside its reported qualification.

Not verified

The changed VulkanDevice.cpp implementation, the remainder of FrameReplayState.cpp and tests/execution/NativeDepthCapture.cpp, and the other changed files listed as included in the manifest were not read in full. VulkanDevice.cpp was excluded from the prepared full-text bundle and only its relevant replay/capture methods were read through repo_read.py. No build or tests were run. The author's reported Linux, Vulkan, and Wine results were not independently reproduced. No source permalink claims are made.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6011657564 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6011657564). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T10:17:15Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the points below are optional. ## What I ran Reviewed head `e4e558cda704b9f1fcf258d27081e8c813e5a786`. No commands or tests were run in this review; the CTest results in the PR description are author-reported. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Core capture and replay paths inspected | | Tests run by reviewer | not run | No test execution performed | ## Findings ### Blocking None. ### Non-blocking - Native Windows Vulkan, another GPU vendor, and Minecraft Dungeons II behavior were not verified in this review; the description also identifies these as outside its reported qualification. ## Not verified The changed `VulkanDevice.cpp` implementation, the remainder of `FrameReplayState.cpp` and `tests/execution/NativeDepthCapture.cpp`, and the other changed files listed as included in the manifest were not read in full. `VulkanDevice.cpp` was excluded from the prepared full-text bundle and only its relevant replay/capture methods were read through `repo_read.py`. No build or tests were run. The author's reported Linux, Vulkan, and Wine results were not independently reproduced. No source permalink claims are made. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 10:22:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T10:22:01Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this Draft; the points below are optional.

What I ran

Reviewed head 16d931b5c01f76df84fda400a157de28f5b05d67. No build or tests were run. Read the prepared description, commits, manifest and diff, plus the pinned replay reset and depth capture/restore code. Author-reported tests were not rerun.

Results

Check Result Note
Source review passed Reviewed replay and capture paths
Build and tests not run Results in description are author-reported

Findings

Blocking

None in the inspected paths.

Non-blocking

None.

Not verified

The manifest lists 26 changed files. I inspected the full diff, but read pinned source context only for Graphics/src/DepthSurface.cpp and tools/FrameReplay.cpp; the other changed files were not independently inspected at the pinned head. I did not verify the reported test runs, Windows/Vulkan behavior, alternate GPUs, console behavior, or the peer integration gates.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6055751493 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6055751493). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T10:22:01Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this Draft; the points below are optional. ## What I ran Reviewed head `16d931b5c01f76df84fda400a157de28f5b05d67`. No build or tests were run. Read the prepared description, commits, manifest and diff, plus the pinned replay reset and depth capture/restore code. Author-reported tests were not rerun. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Reviewed replay and capture paths | | Build and tests | not run | Results in description are author-reported | ## Findings ### Blocking None in the inspected paths. ### Non-blocking None. ## Not verified The manifest lists 26 changed files. I inspected the full diff, but read pinned source context only for `Graphics/src/DepthSurface.cpp` and `tools/FrameReplay.cpp`; the other changed files were not independently inspected at the pinned head. I did not verify the reported test runs, Windows/Vulkan behavior, alternate GPUs, console behavior, or the peer integration gates. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-27 15:08:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T15:08:35Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

Reviewed head ad8479cc9503af14d78c75070b38eb97da0988a. No commands or tests were run in this review; the test results below are author-reported. I read description.md, commits.md, manifest.json, and the relevant diff hunks, plus the changed codec, replay, depth-surface, lifecycle, and Vulkan-device implementation and tests. VulkanDevice.cpp was excluded from the review folder and read through repo_read.py. I did not read every changed file listed in the manifest.

Results

Check Result Note
Source review passed Targeted capture and replay paths inspected
Tests run by reviewer not run Author reports exact-head paired qualification
Full changed-file review not run Several changed files not inspected
Integration gates not applicable Description records unresolved peer and platform gates

Findings

Blocking

None identified in the source inspected.

Non-blocking

  • Keep the PR in Draft while the description’s recorded overlap scan and peer-composition gates remain unresolved. The scan exited with status 2 and reports automatically uncomparable peers; this review did not independently resolve those integration questions.

Not verified

I did not read every changed file or run tests. In particular, the changed test suites, CMake registrations, and debt documentation were not all inspected. The reported Linux GPU qualification and its logs were not independently verified. Native Windows Vulkan, other GPU vendors, console equivalence, title progression, and unresolved peer composition are not verified here.

To get this to a good state

Nothing is required. Optional: complete the documented peer-composition and platform qualification gates before removing Draft status.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6090132091 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6090132091). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-27T15:08:35Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran Reviewed head `ad8479cc9503af14d78c75070b38eb97da0988a`. No commands or tests were run in this review; the test results below are author-reported. I read `description.md`, `commits.md`, `manifest.json`, and the relevant diff hunks, plus the changed codec, replay, depth-surface, lifecycle, and Vulkan-device implementation and tests. `VulkanDevice.cpp` was excluded from the review folder and read through `repo_read.py`. I did not read every changed file listed in the manifest. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Targeted capture and replay paths inspected | | Tests run by reviewer | not run | Author reports exact-head paired qualification | | Full changed-file review | not run | Several changed files not inspected | | Integration gates | not applicable | Description records unresolved peer and platform gates | ## Findings ### Blocking None identified in the source inspected. ### Non-blocking - Keep the PR in Draft while the description’s recorded overlap scan and peer-composition gates remain unresolved. The scan exited with status 2 and reports automatically uncomparable peers; this review did not independently resolve those integration questions. ## Not verified I did not read every changed file or run tests. In particular, the changed test suites, CMake registrations, and debt documentation were not all inspected. The reported Linux GPU qualification and its logs were not independently verified. Native Windows Vulkan, other GPU vendors, console equivalence, title progression, and unresolved peer composition are not verified here. ## To get this to a good state Nothing is required. Optional: complete the documented peer-composition and platform qualification gates before removing Draft status.
MarcZX10 commented 2026-12-03 09:55:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-03T09:55:22Z.

Review: COMMENTED


Reviewed — no blocking findings

I found no verified blocking defect in the changed hunks I inspected; this remains a comment because I did not read every changed file in full or independently verify the reported test runs.

What I ran

Reviewed head 1b2570f65d5f5e385b95f065db4cc22908742ffb using the prepared diff and targeted repo_read.py source ranges. No tests or build checks were run.

sed -n ... description.md commits.md manifest.json diff.patch files.json
python3 repo_read.py cat <repository-path> <start> <end>
python3 repo_read.py search <pattern> <repository-path>

Results

Check Result Note
Changed hunks passed Inspected prepared diff
Targeted source context passed Capture, serialization, replay reset, and restore paths
Tests and build not run Author-reported results not independently checked

Findings

Blocking

None verified.

Non-blocking

None.

Sources

Not verified

files.json lists 25 reviewed paths and no excluded-by-rule files. I inspected the changed hunks and targeted head-source ranges, but did not read every full file. Tests, builds, and the author-reported hardware results were not independently verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6167420335 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6167420335). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-12-03T09:55:22Z. **Review:** COMMENTED --- # Reviewed — no blocking findings I found no verified blocking defect in the changed hunks I inspected; this remains a comment because I did not read every changed file in full or independently verify the reported test runs. ## What I ran Reviewed head `1b2570f65d5f5e385b95f065db4cc22908742ffb` using the prepared diff and targeted `repo_read.py` source ranges. No tests or build checks were run. ```text sed -n ... description.md commits.md manifest.json diff.patch files.json python3 repo_read.py cat <repository-path> <start> <end> python3 repo_read.py search <pattern> <repository-path> ``` ## Results | Check | Result | Note | |---|---|---| | Changed hunks | passed | Inspected prepared diff | | Targeted source context | passed | Capture, serialization, replay reset, and restore paths | | Tests and build | not run | Author-reported results not independently checked | ## Findings ### Blocking None verified. ### Non-blocking None. ## Sources - [Native depth serialization at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/1b2570f65d5f5e385b95f065db4cc22908742ffb/core/libs/prx/libSceAgcDriver/Execution/src/NativeDepthCapture.cpp) - [Native depth capture and restore at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/1b2570f65d5f5e385b95f065db4cc22908742ffb/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp) - [Replay reset integration at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/1b2570f65d5f5e385b95f065db4cc22908742ffb/core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp) ## Not verified `files.json` lists 25 reviewed paths and no excluded-by-rule files. I inspected the changed hunks and targeted head-source ranges, but did not read every full file. Tests, builds, and the author-reported hardware results were not independently verified. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 22:31:06 +00:00 (Migrated from github.com)

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

Review: COMMENTED


The trial merge onto c1601e56d5 conflicts in FrameReplay.cpp. When resolving the replay setup and reset loop, preserve both refusal before mutation and a repeated window whose earlier HTILE metadata spans overlap the newly restored bytes. The paired outside-range controls are important because a reset can appear correct by dropping all HTILE state and still damage another target. Local paired execution is pending a mergeable head.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6179756964 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6179756964). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T22:31:06Z. **Review:** COMMENTED --- The trial merge onto `c1601e56d5` conflicts in `FrameReplay.cpp`. When resolving the replay setup and reset loop, preserve both refusal before mutation and a repeated window whose earlier HTILE metadata spans overlap the newly restored bytes. The paired outside-range controls are important because a reset can appear correct by dropping all HTILE state and still damage another target. Local paired execution is pending a mergeable head. AI-assisted: yes.
MarcZX10 commented 2026-12-04 09:28:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-04T09:28:14Z.

Review: COMMENTED


Reviewed — no blocking findings

The inspected code shows no verified blocking defect, but the review is incomplete because two changed source files could not be read at the pinned head.

What I ran

Reviewed head c37339b0964b89a35276b0240d5f8afe03735e31. I inspected the prepared diff, description, commit list, manifest, and selected included file texts. I did not run tests or builds.

sed -n ... description.md commits.md manifest.json diff.patch files.json
rg '^diff --git|^@@' diff.patch
sed -n ... files/<repository path>
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp 3260 3335

The reader returned the requested VulkanDevice.cpp range, then could not serve DepthSurface.cpp because its attempt to write reads.jsonl failed on the read-only filesystem. No tests or negative controls were run.

Results

Check Result Note
Diff and metadata inspection passed Prepared review inputs inspected
Targeted source inspection not run Two changed files remain unread
Tests and build not run No compile or test commands run
Negative control not run Not applicable without running tests

Findings

Blocking

None verified in the inspected code.

Non-blocking

None.

Sources

The prepared diff and included source snapshots were the basis for this review. No external behavior claims are made.

Not verified

core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp was read only around its new native-depth methods; the rest of that file was not reviewed. core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp could not be read through repo_read.py, so its changed implementation is unverified. Other changed files listed as reviewed in files.json were not all read in full. files.json reports no rule-excluded files.

To get this to a good state

Nothing is required. The review remains incomplete until the changed DepthSurface.cpp implementation and remaining changed files are inspected.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6186558639 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19557#pullrequestreview-6186558639). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-12-04T09:28:14Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The inspected code shows no verified blocking defect, but the review is incomplete because two changed source files could not be read at the pinned head. ## What I ran Reviewed head `c37339b0964b89a35276b0240d5f8afe03735e31`. I inspected the prepared diff, description, commit list, manifest, and selected included file texts. I did not run tests or builds. ```text sed -n ... description.md commits.md manifest.json diff.patch files.json rg '^diff --git|^@@' diff.patch sed -n ... files/<repository path> python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp 3260 3335 ``` The reader returned the requested `VulkanDevice.cpp` range, then could not serve `DepthSurface.cpp` because its attempt to write `reads.jsonl` failed on the read-only filesystem. No tests or negative controls were run. ## Results | Check | Result | Note | |---|---|---| | Diff and metadata inspection | passed | Prepared review inputs inspected | | Targeted source inspection | not run | Two changed files remain unread | | Tests and build | not run | No compile or test commands run | | Negative control | not run | Not applicable without running tests | ## Findings ### Blocking None verified in the inspected code. ### Non-blocking None. ## Sources The prepared diff and included source snapshots were the basis for this review. No external behavior claims are made. ## Not verified `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` was read only around its new native-depth methods; the rest of that file was not reviewed. `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` could not be read through `repo_read.py`, so its changed implementation is unverified. Other changed files listed as reviewed in `files.json` were not all read in full. `files.json` reports no rule-excluded files. ## To get this to a good state Nothing is required. The review remains incomplete until the changed `DepthSurface.cpp` implementation and remaining changed files are inspected.
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/19557:upstream-pr/19557'
git switch 'upstream-pr/19557'

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