perf(agc): defer pipeline artifacts with first-use preparation #6743

Open
JJenkx wants to merge 7 commits from upstream-pr/6743 into main
JJenkx commented 2026-10-16 09:07:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-16T09:07:09Z.


What

Draft: matched-title performance benefit remains unproven; the Squirrel native timeout remains unresolved.

With APS5_LAZY_SHADER_PREPARE=1, defer artifact preparation in the graphics-stage and rectangle pipeline ABI resolvers until first use, after registered-header and device validation. Default eager behavior is unchanged. Main's existing single-stage ABI planning, saved deferred ABI state and synchronization are preserved; the production change is two early-return guards.

Head dcabd0b452c7ab87c93e1207b434cc81407fb5a9 refreshes onto pinned main af81394087c4c634b1f2cfb5cbf909bc548c46b8 and corrects the standalone lazy rectangle fixture: valid corners, explicit pixel-stage execution, and a CTest guard against deferred GPU write-back failures. All original preparation assertions remain. The runtime topic is still the same two early-return guards; no private timing probe or title integration is part of this branch.

Tested

Latest native qualification (2026-11-25): the private integration of this head onto main cc2e43451f58 (3e5a7b181379) stopped during the first Squirrel with a Gun PPSA22102 AB pair. Main exited normally at 273.0 seconds; the integration exited 139 at 162.7 seconds after Unreal reported a 120-second RenderThread wait and guest abort. The remaining BA arms were not run. Actual driver identities and the 831-file common bank isolation were verified, and all preservation/cleanup guards passed. The candidate has no completed 180-second trace or matched-scene performance comparison. Cause and reproducibility remain unresolved.

A separate altered diagnostic on the same frozen candidate exited normally at 214.0 seconds. Worker stacks at 70/105 seconds showed progress from compute-shader optimization to graphics-stage simplification. It changed inputs, capture/trace timing and debugger attachments, so it does not qualify as a repeat of the original arm or establish its failure cause. The native stop and diagnostic report, with verified archives preserves both outcomes. These results leave the native qualification gap open alongside the unproven performance benefit.

A further optimizer-disabled diagnostic on the same frozen integration exits normally after 273.8 seconds, with both native frames showing the title menu and preservation checks passing. It also isolates the currently held host Space key through a private Cross mapping. Its queue-worker trace loses 1,442,743 events after about 106.7 seconds; retained slices cannot support a full-window CPU phase comparison. This single different-configuration run does not resolve the original timeout or qualify default-optimizer performance. The source head and draft status remain unchanged.

Latest Linux fixture qualification (2026-11-23): main af81394087c4 passes 9/9 shared checks. This head dcabd0b452c7 passes those 9 plus three repeated standalone rectangle runs. Restoring degenerate positions (42eecc31dd97) preserves 9 shared passes and fails all three rectangle runs with the intended GPU error. Valid corners and DB_SHADER_CONTROL.EXEC_ON_NOOP make the draw exercise its registered pixel shader; all original assertions remain. Physical RX 6650 XT, RADV Mesa 26.3.1-arch1.2, Linux 7.3.5-arch1-1, actual validation 1.4.363 insertion per case; zero skips/VUIDs/actual sync-hazard identifiers. Final builds cover focused fixtures and transitive runtime providers; the exact pinned main bank is reused. Frozen hashes and source/configuration restoration verified. Source and verified evidence, SHA-256 0450afbef34a9052455ea59542ad13317bd2b6b969eeb8c00b9bbe01a890ff30. The subsequent exact-head Windows report records all 27 prepared-shader checks passing in each of three runs (81/81, no skips) on RX 6700 XT / AMD driver 26.11.2, Windows 11 Enterprise 22621, WinLibs GCC 15.2, with actual Khronos 1.4.363 loading and zero VUID- / SYNC-HAZARD lines. It reports one Undefined-Value-ShaderOutputNotConsumed-DynamicRendering warning per lazy test, consistent with the targetless EXEC_ON_NOOP draw; the existing shared deferred-rectangle-pair diagnostic remains separate and unchanged. These are reported head-only Windows results, not a new paired-main Windows run or a performance measurement. No title/FPS benefit is established.

Earlier independent NVIDIA validation (before this fixture correction): domx4q's Linux RTX4090 run reports main e4caa07950 versus head 615095c51b merged on that same main (76daed9cf1):34/34 baseline and35/35 change tests pass for prepared|lazy_pipeline, with64/66 validation-layer insertions,0VUID/missing-layer reports and0skips. Arch Linux7.3.4, GCC16.2.1, NVIDIA620.70.06, layer1.4.363.1. This is independently reported correctness evidence; it supplies no title performance comparison. The draft remains because matched-title performance benefit is unproven.

Historical local qualification (pins below):

Linux Release/GCC 16.2.1, AMD RX 6650 XT/RADV Mesa 26.2.6, Linux 7.2.11. Both full SDKs/relinkers and focused executables built, with matching dependency gitlinks and patched/unpatched ELF build IDs. Matched focused checks ran through the shared FIFO with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and actual Khronos validation loading verified:

  • Main: the same 16 prepared-graphics/prepared-shader groups pass.
  • Change: those 16 plus the new lazy pipeline ABI/first rectangle draw regression pass.
  • No skips, VUIDs or missing-layer diagnostics. The focused matrix includes CPU preparation-budget checks as well as GPU execution fixtures; it is not a claim that every group exercises the GPU.
  • Frozen SDK/test hashes remained intact. Conventions and whitespace pass.

Exact source patch, dependency pins, builds, verbose logs, JUnit and terminal receipts, SHA-256 7748e20d19a542d2b31fb8e4fb097a95118807d8a1389e30faf4cc1f2e1f5d3f (uploaded/downloaded and internal hashes verified).

Those local checks did not include Windows or NVIDIA; the earlier independent NVIDIA correctness result is above. No title speedup is claimed. The Smurfs – Dreams PPSA21607 01.002.000 cold-start pair is complete. Control 62bbc741fb2f is main cf79276fee2f plus the same #6959/#13934/#6782/#6913 prerequisites and a private common timing probe; change a7cae4a3bed6 adds this PR. Normal flip scheduling, lazy flag enabled in both arms, fresh private AnyPS5/Mesa shader caches disabled, identical initial writable hashes, same scheduled input, 3840×2160. Both exit0 in about98s, restore kernel settings and leave original inputs/SDK hashes intact.

Observed startup metric Control Change
Process start to first driver Present entry (10ms process tick resolution; not display confirmation) 2532.36ms 2395.77ms
Variant compilations completed by first-present+60s 218 209
Summed variant compilation wall time by +60s 256.43ms 246.02ms
Summed shader preparation wall time by +60s 596.68ms 545.36ms
Summed graphics-stage ABI wall time by +60s 225.08ms 0.49ms

No reliable title loading or gameplay FPS benefit is established by this single pair. Inclusive phase sums overlap and include concurrent work; deferred ABI time is not all removed. Only1.29ms of the control's graphics-stage ABI work precedes its first Present, so the136.58ms process-start difference cannot be attributed to that work. Both reviewed90s captures show save selection; the80s captures differ, and inactive-window capture freshness could not be verified. Mixed startup scene histories make the0:60 trace frame distributions unsuitable for a steady-scene FPS claim. The private measurement source is identical between arms and is not in this PR.

Both official traces/summaries, reviewed captures, source-isolation proof, exact private probe patch, reports and timing counters, SHA-256 35a5f2e433624fd81f590e882ac9743fb55745fd161252bae302d881489f2fac (download/internal hashes verified).

The historical Resident Evil Village cold-start pair, main a6dcea9279b5 versus 22cee06b0105, did not establish a loading gain. Its startup scene histories differ, so its frame distributions do not support a gameplay speed comparison.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none; #7644 is merged into main
  • Fixes: none
  • Unblocks: none; performance benefit remains unproven
  • GPUs tested: AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.3.1-arch1.2, Linux 7.3.5-arch1-1 (latest paired Linux qualification); AMD Radeon RX 6700 XT, AMD driver 26.11.2, Windows 11 Enterprise 22621 (reported exact-head check); earlier AMD/NVIDIA results retain their recorded pins above
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4886066755 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6743). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-16T09:07:09Z. --- ### What **Draft: matched-title performance benefit remains unproven; the Squirrel native timeout remains unresolved.** With `APS5_LAZY_SHADER_PREPARE=1`, defer artifact preparation in the graphics-stage and rectangle pipeline ABI resolvers until first use, after registered-header and device validation. Default eager behavior is unchanged. Main's existing single-stage ABI planning, saved deferred ABI state and synchronization are preserved; the production change is two early-return guards. Head `dcabd0b452c7ab87c93e1207b434cc81407fb5a9` refreshes onto pinned main `af81394087c4c634b1f2cfb5cbf909bc548c46b8` and corrects the standalone lazy rectangle fixture: valid corners, explicit pixel-stage execution, and a CTest guard against deferred GPU write-back failures. All original preparation assertions remain. The runtime topic is still the same two early-return guards; no private timing probe or title integration is part of this branch. ### Tested **Latest native qualification (2026-11-25):** the private integration of this head onto main `cc2e43451f58` (`3e5a7b181379`) stopped during the first Squirrel with a Gun PPSA22102 AB pair. Main exited normally at 273.0 seconds; the integration exited 139 at 162.7 seconds after Unreal reported a 120-second RenderThread wait and guest abort. The remaining BA arms were not run. Actual driver identities and the 831-file common bank isolation were verified, and all preservation/cleanup guards passed. The candidate has no completed 180-second trace or matched-scene performance comparison. Cause and reproducibility remain unresolved. A separate altered diagnostic on the same frozen candidate exited normally at 214.0 seconds. Worker stacks at 70/105 seconds showed progress from compute-shader optimization to graphics-stage simplification. It changed inputs, capture/trace timing and debugger attachments, so it does not qualify as a repeat of the original arm or establish its failure cause. The [native stop and diagnostic report, with verified archives](https://github.com/boykopovar/AnyPS5/pull/6743#issuecomment-7154264715) preserves both outcomes. These results leave the native qualification gap open alongside the unproven performance benefit. A [further optimizer-disabled diagnostic](https://github.com/boykopovar/AnyPS5/pull/6743#issuecomment-7168630938) on the same frozen integration exits normally after 273.8 seconds, with both native frames showing the title menu and preservation checks passing. It also isolates the currently held host Space key through a private Cross mapping. Its queue-worker trace loses 1,442,743 events after about 106.7 seconds; retained slices cannot support a full-window CPU phase comparison. This single different-configuration run does not resolve the original timeout or qualify default-optimizer performance. The source head and draft status remain unchanged. **Latest Linux fixture qualification (2026-11-23):** main `af81394087c4` passes 9/9 shared checks. This head `dcabd0b452c7` passes those 9 plus three repeated standalone rectangle runs. Restoring degenerate positions (`42eecc31dd97`) preserves 9 shared passes and fails all three rectangle runs with the intended GPU error. Valid corners and `DB_SHADER_CONTROL.EXEC_ON_NOOP` make the draw exercise its registered pixel shader; all original assertions remain. Physical RX 6650 XT, RADV Mesa 26.3.1-arch1.2, Linux 7.3.5-arch1-1, actual validation 1.4.363 insertion per case; zero skips/VUIDs/actual sync-hazard identifiers. Final builds cover focused fixtures and transitive runtime providers; the exact pinned main bank is reused. Frozen hashes and source/configuration restoration verified. [Source and verified evidence](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261122/pr6743-valid-rectangle-dcabd0b4-linux-20261123.tar.gz), SHA-256 `0450afbef34a9052455ea59542ad13317bd2b6b969eeb8c00b9bbe01a890ff30`. The [subsequent exact-head Windows report](https://github.com/boykopovar/AnyPS5/pull/6743#issuecomment-7110657213) records all 27 prepared-shader checks passing in each of three runs (81/81, no skips) on RX 6700 XT / AMD driver 26.11.2, Windows 11 Enterprise 22621, WinLibs GCC 15.2, with actual Khronos 1.4.363 loading and zero `VUID-` / `SYNC-HAZARD` lines. It reports one `Undefined-Value-ShaderOutputNotConsumed-DynamicRendering` warning per lazy test, consistent with the targetless `EXEC_ON_NOOP` draw; the existing shared deferred-rectangle-pair diagnostic remains separate and unchanged. These are reported head-only Windows results, not a new paired-main Windows run or a performance measurement. No title/FPS benefit is established. **Earlier independent NVIDIA validation (before this fixture correction):** [domx4q's Linux RTX4090 run](https://github.com/boykopovar/AnyPS5/pull/6743#issuecomment-6927283170) reports main `e4caa07950` versus head `615095c51b` merged on that same main (`76daed9cf1`):34/34 baseline and35/35 change tests pass for `prepared|lazy_pipeline`, with64/66 validation-layer insertions,0VUID/missing-layer reports and0skips. Arch Linux7.3.4, GCC16.2.1, NVIDIA620.70.06, layer1.4.363.1. This is independently reported correctness evidence; it supplies no title performance comparison. The draft remains because matched-title performance benefit is unproven. **Historical local qualification (pins below):** Linux Release/GCC 16.2.1, AMD RX 6650 XT/RADV Mesa 26.2.6, Linux 7.2.11. Both full SDKs/relinkers and focused executables built, with matching dependency gitlinks and patched/unpatched ELF build IDs. Matched focused checks ran through the shared FIFO with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and actual Khronos validation loading verified: - Main: the same 16 prepared-graphics/prepared-shader groups pass. - Change: those 16 plus the new lazy pipeline ABI/first rectangle draw regression pass. - No skips, VUIDs or missing-layer diagnostics. The focused matrix includes CPU preparation-budget checks as well as GPU execution fixtures; it is not a claim that every group exercises the GPU. - Frozen SDK/test hashes remained intact. Conventions and whitespace pass. [Exact source patch, dependency pins, builds, verbose logs, JUnit and terminal receipts](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr6743-maincf792-linux-focused-20261101.tar.gz), SHA-256 `7748e20d19a542d2b31fb8e4fb097a95118807d8a1389e30faf4cc1f2e1f5d3f` (uploaded/downloaded and internal hashes verified). Those local checks did not include Windows or NVIDIA; the earlier independent NVIDIA correctness result is above. No title speedup is claimed. The Smurfs – Dreams PPSA21607 01.002.000 cold-start pair is complete. Control `62bbc741fb2f` is main `cf79276fee2f` plus the same #6959/#13934/#6782/#6913 prerequisites and a private common timing probe; change `a7cae4a3bed6` adds this PR. Normal flip scheduling, lazy flag enabled in both arms, fresh private AnyPS5/Mesa shader caches disabled, identical initial writable hashes, same scheduled input, 3840×2160. Both exit0 in about98s, restore kernel settings and leave original inputs/SDK hashes intact. | Observed startup metric | Control | Change | |---|---:|---:| | Process start to first driver Present entry (10ms process tick resolution; not display confirmation) | 2532.36ms | 2395.77ms | | Variant compilations completed by first-present+60s | 218 | 209 | | Summed variant compilation wall time by +60s | 256.43ms | 246.02ms | | Summed shader preparation wall time by +60s | 596.68ms | 545.36ms | | Summed graphics-stage ABI wall time by +60s | 225.08ms | 0.49ms | **No reliable title loading or gameplay FPS benefit is established by this single pair.** Inclusive phase sums overlap and include concurrent work; deferred ABI time is not all removed. Only1.29ms of the control's graphics-stage ABI work precedes its first Present, so the136.58ms process-start difference cannot be attributed to that work. Both reviewed90s captures show save selection; the80s captures differ, and inactive-window capture freshness could not be verified. Mixed startup scene histories make the0:60 trace frame distributions unsuitable for a steady-scene FPS claim. The private measurement source is identical between arms and is not in this PR. [Both official traces/summaries, reviewed captures, source-isolation proof, exact private probe patch, reports and timing counters](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr6743-smurfs-cold-diagnostic-20261101.tar.gz), SHA-256 `35a5f2e433624fd81f590e882ac9743fb55745fd161252bae302d881489f2fac` (download/internal hashes verified). The [historical Resident Evil Village cold-start pair](https://github.com/JJenkx/AnyPS5/releases/download/village-lazy-pipeline-abi-20261016/pr6743-main-a6dc-cold-startup-20261022.tar.gz), main `a6dcea9279b5` versus `22cee06b0105`, did not establish a loading gain. Its startup scene histories differ, so its frame distributions do not support a gameplay speed comparison. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none; #7644 is merged into main - [x] Fixes: none - [x] Unblocks: none; performance benefit remains unproven - [x] GPUs tested: AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.3.1-arch1.2, Linux 7.3.5-arch1-1 (latest paired Linux qualification); AMD Radeon RX 6700 XT, AMD driver 26.11.2, Windows 11 Enterprise 22621 ([reported exact-head check](https://github.com/boykopovar/AnyPS5/pull/6743#issuecomment-7110657213)); earlier AMD/NVIDIA results retain their recorded pins above - [x] AI-assisted: yes
JJenkx commented 2026-10-16 14:24:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-16T14:24:07Z.


Temporarily closing this draft to free one of my 20 open-PR slots for a reproduced cache-header arithmetic correction following #6296. This first-use pipeline work remains on fix/lazy-pipeline-abi at 3bac469646f3bd71091930925d0a5637c18aa1ee, and its prior testing integrations are preserved. It still needs an isolated main-versus-change title performance comparison before becoming ready. Reopen when a slot is available; no branch deletion.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6217594780 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6743#issuecomment-6217594780). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-16T14:24:07Z. --- Temporarily closing this draft to free one of my 20 open-PR slots for a reproduced cache-header arithmetic correction following #6296. This first-use pipeline work remains on fix/lazy-pipeline-abi at 3bac469646f3bd71091930925d0a5637c18aa1ee, and its prior testing integrations are preserved. It still needs an isolated main-versus-change title performance comparison before becoming ready. Reopen when a slot is available; no branch deletion.
MarcZX10 commented 2026-11-16 18:31:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T18:31:19Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the focused source and fixture inspection supports the lazy-mode deferral behavior.

What I ran

Reviewed head 615095c51ba0c246a6ba9c5a8613d84364e08a74 using the prepared patch and pinned repository reader. No build or tests were run.

Results

Check Result Note
Patch and changed files passed All six changed files read
Targeted lazy preparation paths passed Validation and first-use flow inspected
Build and tests not run No commands executed

Findings

Blocking

None.

Non-blocking

None.

Not verified

No build, automated tests, or console behavior were independently verified. The PR description reports Linux focused checks and a title capture; those are author-reported. The changed-file list contains six files, all of which were read; no excluded-file list was available in the prepared review folder.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5925303963 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6743#pullrequestreview-5925303963). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-16T18:31:19Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the focused source and fixture inspection supports the lazy-mode deferral behavior. ## What I ran Reviewed head `615095c51ba0c246a6ba9c5a8613d84364e08a74` using the prepared patch and pinned repository reader. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Patch and changed files | passed | All six changed files read | | Targeted lazy preparation paths | passed | Validation and first-use flow inspected | | Build and tests | not run | No commands executed | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No build, automated tests, or console behavior were independently verified. The PR description reports Linux focused checks and a title capture; those are author-reported. The changed-file list contains six files, all of which were read; no excluded-file list was available in the prepared review folder. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-22 23:14:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T23:14:11Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the reviewed code supports the documented lazy preparation behavior, and no checks were run in this review.

What I ran

Reviewed head 61b8ac88bb37492dea8752de8af9fae929bf8b67. No commands or tests were run.

Read all six changed files listed in manifest.json: ShaderRegistry.cpp, agc_driver_lazy_pipeline_abi_tests.cmake, LazyPipelineAbi.cpp, PreparedShaders.cpp, ARCHITECTURE.md, and lazy-pipeline-abi-preparation.md. No files were excluded; files.json was unavailable through the reader.

Results

Check Result Note
Changed-file review passed All six manifest files read
Tests not run No checks run in this review

Findings

Blocking

None.

Non-blocking

None.

Not verified

Tests and runtime behavior were not independently verified. The performance and hardware results in the PR description are author-reported and were not reproduced.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6015044029 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6743#pullrequestreview-6015044029). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T23:14:11Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the reviewed code supports the documented lazy preparation behavior, and no checks were run in this review. ## What I ran Reviewed head `61b8ac88bb37492dea8752de8af9fae929bf8b67`. No commands or tests were run. Read all six changed files listed in `manifest.json`: `ShaderRegistry.cpp`, `agc_driver_lazy_pipeline_abi_tests.cmake`, `LazyPipelineAbi.cpp`, `PreparedShaders.cpp`, `ARCHITECTURE.md`, and `lazy-pipeline-abi-preparation.md`. No files were excluded; `files.json` was unavailable through the reader. ## Results | Check | Result | Note | |---|---|---| | Changed-file review | passed | All six manifest files read | | Tests | not run | No checks run in this review | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Tests and runtime behavior were not independently verified. The performance and hardware results in the PR description are author-reported and were not reproduced. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 02:33:51 +00:00 (Migrated from github.com)

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

Review: APPROVED


Reviewed — looks good

The change defers graphics-stage and rectangle pipeline preparation in lazy mode while retaining registered-header and device validation; no blocking defect was found in the reviewed code.

What I ran

Reviewed head dcabd0b452c7ab87c93e1207b434cc81407fb5a9 and its prepared diff with the PR reader. I did not run builds or tests. The description reports Linux and Windows fixture results; those are author-reported, not runs performed for this review.

Results

Check Result Note
Changed-file review passed All six changed files read
Build and tests not run Results in the description are author-reported
Change scope passed Two lazy-mode early returns and supporting tests/docs

Negative control

Not run for this review. The description reports that restoring degenerate rectangle positions caused all three fixture runs to fail as intended.

Findings

Blocking

None.

Non-blocking

None.

Sources

Not verified

Builds, tests, and console behavior were not run or independently confirmed in this review. The review bundle excluded no changed files; all files listed as reviewed in the manifest were read.

To get this to a good state

Nothing is required. Optional: retain the paired title performance evidence as follow-up work; the description says this change has not established a title loading or gameplay FPS benefit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6050907682 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6743#pullrequestreview-6050907682). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T02:33:51Z. **Review:** APPROVED --- # Reviewed — looks good The change defers graphics-stage and rectangle pipeline preparation in lazy mode while retaining registered-header and device validation; no blocking defect was found in the reviewed code. ## What I ran Reviewed head `dcabd0b452c7ab87c93e1207b434cc81407fb5a9` and its prepared diff with the PR reader. I did not run builds or tests. The description reports Linux and Windows fixture results; those are author-reported, not runs performed for this review. ## Results | Check | Result | Note | |---|---|---| | Changed-file review | passed | All six changed files read | | Build and tests | not run | Results in the description are author-reported | | Change scope | passed | Two lazy-mode early returns and supporting tests/docs | ## Negative control Not run for this review. The description reports that restoring degenerate rectangle positions caused all three fixture runs to fail as intended. ## Findings ### Blocking None. ### Non-blocking None. ## Sources - [ShaderRegistry.cpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/dcabd0b452c7ab87c93e1207b434cc81407fb5a9/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp#L2747) - [LazyPipelineAbi.cpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/dcabd0b452c7ab87c93e1207b434cc81407fb5a9/core/libs/prx/libSceAgcDriver/tests/execution/LazyPipelineAbi.cpp#L70) ## Not verified Builds, tests, and console behavior were not run or independently confirmed in this review. The review bundle excluded no changed files; all files listed as reviewed in the manifest were read. ## To get this to a good state Nothing is required. Optional: retain the paired title performance evidence as follow-up work; the description says this change has not established a title loading or gameplay FPS benefit.
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/6743:upstream-pr/6743'
git switch 'upstream-pr/6743'

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