fix(agc): order DCC clear fills against GPU writes in resident presentation #13879

Merged
sktharunbalaji13-cmd merged 4 commits from upstream-pr/13879 into main 2026-11-01 10:49:33 +00:00
sktharunbalaji13-cmd commented 2026-10-31 10:53:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by sktharunbalaji13-cmd on 2026-10-31T10:53:28Z.


What

This change orders DCC clear fills against GPU writes in resident presentation and refresh:

  1. In \StorageTexture:
    • Scopes post-fill write tracking per unit/layer (\layerWrittenSinceFill) reset during \NoteKeysFill\ and set during \markLayersPending.
    • Records \writesAtFill = writes\ so whole-image and per-unit GPU writes since fill can be queried via \HasWritesSinceFill()\ and \HasWritesSinceFill(unit).
    • In \droppable(unit): guards clear-code drops on !HasWritesSinceFill(unit), ensuring post-fill writes are preserved while untouched clear regions/layers are dropped.
    • In \MarkSliceDirty\ and \MarkUnitsWritten: preserves per-slice and per-block granularity for DCC textures rather than dirtying all layers, ensuring DCC uncompression occurs without losing unit-level tracking.
  2. In \DisplayBuffer.cpp\ / \DisplayBuffer.hpp: factors out \ResidentServesDisplay\ and guards clear-key rejection on !hasWritesSinceFill.
  3. In \VulkanDevice.cpp:
    • Falls back to \FindLive\ when \FindPendingSlice\ yields null.
    • Refreshes any selected resident (
      esident != nullptr) prior to presentation in \PresentDisplayBuffer, ensuring guest CPU memory written after writeback is merged while keeping \unsuitable\ and
      otPending\ counters semantically accurate.
  4. In \DisplayBufferDcc.cpp:
    • Adds \ResidentServesDisplayOrderTests\ verifying both ordering sequences (fill-then-write serves display; write-then-fill falls back to clear), with corrected failure messages.
  5. In \ ests/execution/DccKeysFirstWrite.cpp:
    • Adds \RunPartialWriteUntouchedClear\ regression test covering partial writes after clear fills on multi-layer array textures and multi-block 2D textures, verifying post-fill writes are preserved while untouched regions drop.
    • Adds \RunCpuWriteAfterWritebackPresent\ regression test modifying guest texels after writeback and verifying presentation merges newer CPU bytes into the resident snapshot.

Tested

  • Built with MinGW GCC 15.2.0 on Windows 11.
  • \gc_display_buffer_dcc_tests: passed (including \ResidentServesDisplayOrderTests).
  • \gc_driver_dcc_keys_first_write_tests: passed (including \RunPartialWriteUntouchedClear\ and \RunCpuWriteAfterWritebackPresent).
  • Ghost of Tsushima Director's Cut (PPSA02225): verified direct resident presentation and frame progression through frames 118, 119, and 120 with non-black rendered pixels (\extrema=((0, 255), (0, 255), (0, 255))).

Checklist

  • Based on current \main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (\NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md\ files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: PPSA02225 #5166
  • GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU, Driver 572.16, Windows 11
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5096864552 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879). Originally posted by [sktharunbalaji13-cmd](https://github.com/sktharunbalaji13-cmd) on 2026-10-31T10:53:28Z. --- ### What This change orders DCC clear fills against GPU writes in resident presentation and refresh: 1. In \StorageTexture\: - Scopes post-fill write tracking per unit/layer (\layerWrittenSinceFill\) reset during \NoteKeysFill\ and set during \markLayersPending\. - Records \writesAtFill = writes\ so whole-image and per-unit GPU writes since fill can be queried via \HasWritesSinceFill()\ and \HasWritesSinceFill(unit)\. - In \droppable(unit)\: guards clear-code drops on \!HasWritesSinceFill(unit)\, ensuring post-fill writes are preserved while untouched clear regions/layers are dropped. - In \MarkSliceDirty\ and \MarkUnitsWritten\: preserves per-slice and per-block granularity for DCC textures rather than dirtying all layers, ensuring DCC uncompression occurs without losing unit-level tracking. 2. In \DisplayBuffer.cpp\ / \DisplayBuffer.hpp\: factors out \ResidentServesDisplay\ and guards clear-key rejection on \!hasWritesSinceFill\. 3. In \VulkanDevice.cpp\: - Falls back to \FindLive\ when \FindPendingSlice\ yields null. - Refreshes any selected resident (\ esident != nullptr\) prior to presentation in \PresentDisplayBuffer\, ensuring guest CPU memory written after writeback is merged while keeping \unsuitable\ and \ otPending\ counters semantically accurate. 4. In \DisplayBufferDcc.cpp\: - Adds \ResidentServesDisplayOrderTests\ verifying both ordering sequences (fill-then-write serves display; write-then-fill falls back to clear), with corrected failure messages. 5. In \ ests/execution/DccKeysFirstWrite.cpp\: - Adds \RunPartialWriteUntouchedClear\ regression test covering partial writes after clear fills on multi-layer array textures and multi-block 2D textures, verifying post-fill writes are preserved while untouched regions drop. - Adds \RunCpuWriteAfterWritebackPresent\ regression test modifying guest texels after writeback and verifying presentation merges newer CPU bytes into the resident snapshot. ### Tested - Built with MinGW GCC 15.2.0 on Windows 11. - \gc_display_buffer_dcc_tests\: passed (including \ResidentServesDisplayOrderTests\). - \gc_driver_dcc_keys_first_write_tests\: passed (including \RunPartialWriteUntouchedClear\ and \RunCpuWriteAfterWritebackPresent\). - Ghost of Tsushima Director's Cut (PPSA02225): verified direct resident presentation and frame progression through frames 118, 119, and 120 with non-black rendered pixels (\extrema=((0, 255), (0, 255), (0, 255))\). ### Checklist - [x] Based on current \main\; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (\NotImplemented_nid_no_patch\); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation \.md\ files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: PPSA02225 #5166 - [x] GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU, Driver 572.16, Windows 11 - [x] AI-assisted: yes
MarcZX10 commented 2026-10-31 10:55:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T10:55:35Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The new FindLive fallback can present stale pixels after a CPU write, and the PR body currently fails the repository's required template check.

What I ran

Reviewed head 6ad4d175b94664acf2aab0764f39e32e4f57433f against PR base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4; the merge preview was clean against that base. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. No local build or tests were run.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879
gh pr checks 13879 --repo boykopovar/AnyPS5

Results

Check Result
Diff check Passed.
Conventions and PR template Failed: the body lacks the required ### What, ### Tested, and ### Checklist headings.
Merge preview Clean against base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4.
Hosted CI Pending at the latest snapshot; no hosted test result is available yet.
CTests The description reports agc_display_buffer_dcc and agc_driver_dcc_keys_first_write passed; I did not independently run them.
Unedited convention-check output
(pull request): error: [pr-template] Fill in the pull request template: add the '### What' heading of the template
(pull request): error: [pr-template] Fill in the pull request template: add the '### Tested' heading of the template
(pull request): error: [pr-template] Fill in the pull request template: add the '### Checklist' heading of the template
3 findings, 3 errors; GitHub shows at most 10 error annotations, the job summary lists all

Findings

Blocking

  1. Refresh the FindLive fallback before presenting it. PresentableResident sets pending from FindPendingSlice before falling back to FindLive, so a fallback resident is returned with pending == false. The primary presentation path calls RefreshPresented only when pending is true, then still passes the non-null resident to present(). If guest CPU memory changed after the texture's last writeback/refresh, this path can display the stale resident image instead of merging those newer bytes. Refresh any selected resident before presenting it, including the FindLive fallback; keep the pending-only counters semantically accurate. Add a regression case that performs a CPU write after writeback and verifies the presented resident reflects it.

  2. Restore and complete the required PR template. The current body omits the required headings and checklist, and the repository convention check fails as a result. Restore the full template and fill its required fields and boxes.

Non-blocking

None identified beyond the unverified hosted checks noted below.

Sources

Not verified

I did not build or run CTests, verify the reported GPU/game captures, or test other GPUs and platforms. Hosted checks were pending in the latest snapshot.

To get this to a good state

Refresh the FindLive resident before presentation and add the CPU-write-after-writeback regression case; restore and complete the PR template. I will rerun the same checks on the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5722431515 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5722431515). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T10:55:35Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The new `FindLive` fallback can present stale pixels after a CPU write, and the PR body currently fails the repository's required template check. ## What I ran Reviewed head `6ad4d175b94664acf2aab0764f39e32e4f57433f` against PR base `602c0e417ca11f53de54ffe7b3253e95cb93c0d4`; the merge preview was clean against that base. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. No local build or tests were run. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 gh pr checks 13879 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | Diff check | Passed. | | Conventions and PR template | Failed: the body lacks the required `### What`, `### Tested`, and `### Checklist` headings. | | Merge preview | Clean against base `602c0e417ca11f53de54ffe7b3253e95cb93c0d4`. | | Hosted CI | Pending at the latest snapshot; no hosted test result is available yet. | | CTests | The description reports `agc_display_buffer_dcc` and `agc_driver_dcc_keys_first_write` passed; I did not independently run them. | <details><summary>Unedited convention-check output</summary> ```text (pull request): error: [pr-template] Fill in the pull request template: add the '### What' heading of the template (pull request): error: [pr-template] Fill in the pull request template: add the '### Tested' heading of the template (pull request): error: [pr-template] Fill in the pull request template: add the '### Checklist' heading of the template 3 findings, 3 errors; GitHub shows at most 10 error annotations, the job summary lists all ``` </details> ## Findings ### Blocking 1. **Refresh the `FindLive` fallback before presenting it.** `PresentableResident` sets `pending` from `FindPendingSlice` before falling back to `FindLive`, so a fallback resident is returned with `pending == false`. The primary presentation path calls `RefreshPresented` only when `pending` is true, then still passes the non-null resident to `present()`. If guest CPU memory changed after the texture's last writeback/refresh, this path can display the stale resident image instead of merging those newer bytes. Refresh any selected resident before presenting it, including the `FindLive` fallback; keep the pending-only counters semantically accurate. Add a regression case that performs a CPU write after writeback and verifies the presented resident reflects it. 2. **Restore and complete the required PR template.** The current body omits the required headings and checklist, and the repository convention check fails as a result. Restore the full template and fill its required fields and boxes. ### Non-blocking None identified beyond the unverified hosted checks noted below. ## Sources - [Fallback selection at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/6ad4d175b94664acf2aab0764f39e32e4f57433f/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3386-L3398) - [Pending-only refresh path and subsequent present call](https://github.com/boykopovar/AnyPS5/blob/6ad4d175b94664acf2aab0764f39e32e4f57433f/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3578-L3594) - [RefreshPresented CPU-write synchronization](https://github.com/boykopovar/AnyPS5/blob/6ad4d175b94664acf2aab0764f39e32e4f57433f/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3455-L3463) - [FindLive returns a cached live texture](https://github.com/boykopovar/AnyPS5/blob/6ad4d175b94664acf2aab0764f39e32e4f57433f/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L5543-L5550) - [Repository PR template](https://github.com/boykopovar/AnyPS5/blob/6ad4d175b94664acf2aab0764f39e32e4f57433f/.github/pull_request_template.md) ## Not verified I did not build or run CTests, verify the reported GPU/game captures, or test other GPUs and platforms. Hosted checks were pending in the latest snapshot. ## To get this to a good state Refresh the `FindLive` resident before presentation and add the CPU-write-after-writeback regression case; restore and complete the PR template. I will rerun the same checks on the updated head.
MarcZX10 commented 2026-10-31 11:40:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T11:40:58Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The live-resident refresh fix is now present, but the DCC clear-drop decision still uses a texture-wide write counter for per-layer refreshes.

What I ran

Reviewed head 63ad794c49dcfe6e8db2f0893317427072ce74f9 against PR base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4; the merge preview was clean against current main cbed91529193c47194bef11811906c7cb6054af1. Environment: Linux x86_64, Python 3.11.2. No local build or C++ test was run.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879
git diff --check 602c0e417ca11f53de54ffe7b3253e95cb93c0d4...63ad794c49dcfe6e8db2f0893317427072ce74f9
python3 tools/check_conventions.py --base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4 --head 63ad794c49dcfe6e8db2f0893317427072ce74f9 --title 'fix(agc): order DCC clear fills against GPU writes in resident presentation' --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13879-63ad794c49dc/pr-body.md
grep -n 'DisplayBufferDcc.cpp' core/libs/prx/libSceAgcDriver/CMakeLists.txt

Results

Check Result
Diff whitespace Passed
Conventions and PR template Passed
Dependency and merge preview Passed; clean against current main
C++ test registration DisplayBufferDcc.cpp is listed in the AGC driver CMake file
Exact-head C++ tests Not run locally; they require a build. The PR description reports the focused Windows tests passing.
Hosted CI Eligibility passed; conventions, labels, report, library portability, and Windows were pending at the latest snapshot. Linux and specialized jobs were skipped.
Precheck helper copies ABI and test-quality helpers were absent from the isolated checkout; ABI is not applicable to these changes.
Unedited local check output
diff-check exit=0
All conventions checks passed.
1285:add_test_executable(agc_display_buffer_dcc_tests EXCLUDE_FROM_ALL tests/DisplayBufferDcc.cpp)

Findings

Blocking

HasWritesSinceFill() is one counter for the whole StorageTexture, but droppable(unit) uses it to decide whether to drop each pending unit. After a clear fill, a GPU write to one layer or part of the image makes HasWritesSinceFill() true for every unit. The code then keeps pending results for untouched units too; a pre-fill result in an untouched layer can therefore survive a clear that should invalidate it. The new tests call ResidentServesDisplay directly and do not exercise StorageTexture::refresh, partial writes, or multiple layers. Please scope post-fill writes to the same units/layers used by the drop decision, or otherwise preserve the clear for untouched regions, and add a regression covering a partial write with untouched clear regions (including an untouched array layer where supported).

The FindLive CPU-freshness path is now refreshed before presentation, but the added test does not exercise the reported CPU-write-after-writeback sequence. Please add a regression that changes guest pixels after writeback and verifies the presented resident contains those pixels.

Non-blocking

The two new Expect failure messages describe the opposite outcome from their assertions: the first expects ResidentServesDisplay to be true but says it does not serve; the second expects false but says it serves. Please correct the messages so a failure identifies the actual expected behavior.

Expect(AgcDriver::ResidentServesDisplay(...), "a resident written after a clear fill serves the display");
Expect(!AgcDriver::ResidentServesDisplay(...), "a resident with no post-fill writes falls back to the clear");

Sources

Not verified

I did not build or run CTests, reproduce the partial-clear scenario, or independently run the GPU/title test. The Windows test and title results in the PR description are author-reported; current Windows CI was still queued.

To get this to a good state

Make clear invalidation granular enough to preserve only post-fill writes, add the partial-write/untouched-region and CPU-write-after-writeback regressions, and correct the two failure messages. I will rerun the same checks on the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5722558300 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5722558300). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T11:40:58Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The live-resident refresh fix is now present, but the DCC clear-drop decision still uses a texture-wide write counter for per-layer refreshes. ## What I ran Reviewed head `63ad794c49dcfe6e8db2f0893317427072ce74f9` against PR base `602c0e417ca11f53de54ffe7b3253e95cb93c0d4`; the merge preview was clean against current `main` `cbed91529193c47194bef11811906c7cb6054af1`. Environment: Linux x86_64, Python 3.11.2. No local build or C++ test was run. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 git diff --check 602c0e417ca11f53de54ffe7b3253e95cb93c0d4...63ad794c49dcfe6e8db2f0893317427072ce74f9 python3 tools/check_conventions.py --base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4 --head 63ad794c49dcfe6e8db2f0893317427072ce74f9 --title 'fix(agc): order DCC clear fills against GPU writes in resident presentation' --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13879-63ad794c49dc/pr-body.md grep -n 'DisplayBufferDcc.cpp' core/libs/prx/libSceAgcDriver/CMakeLists.txt ``` ## Results | Check | Result | |---|---| | Diff whitespace | Passed | | Conventions and PR template | Passed | | Dependency and merge preview | Passed; clean against current `main` | | C++ test registration | `DisplayBufferDcc.cpp` is listed in the AGC driver CMake file | | Exact-head C++ tests | Not run locally; they require a build. The PR description reports the focused Windows tests passing. | | Hosted CI | Eligibility passed; conventions, labels, report, library portability, and Windows were pending at the latest snapshot. Linux and specialized jobs were skipped. | | Precheck helper copies | ABI and test-quality helpers were absent from the isolated checkout; ABI is not applicable to these changes. | <details><summary>Unedited local check output</summary> ```text diff-check exit=0 All conventions checks passed. 1285:add_test_executable(agc_display_buffer_dcc_tests EXCLUDE_FROM_ALL tests/DisplayBufferDcc.cpp) ``` </details> ## Findings ### Blocking `HasWritesSinceFill()` is one counter for the whole `StorageTexture`, but `droppable(unit)` uses it to decide whether to drop each pending unit. After a clear fill, a GPU write to one layer or part of the image makes `HasWritesSinceFill()` true for every unit. The code then keeps pending results for untouched units too; a pre-fill result in an untouched layer can therefore survive a clear that should invalidate it. The new tests call `ResidentServesDisplay` directly and do not exercise `StorageTexture::refresh`, partial writes, or multiple layers. Please scope post-fill writes to the same units/layers used by the drop decision, or otherwise preserve the clear for untouched regions, and add a regression covering a partial write with untouched clear regions (including an untouched array layer where supported). The `FindLive` CPU-freshness path is now refreshed before presentation, but the added test does not exercise the reported CPU-write-after-writeback sequence. Please add a regression that changes guest pixels after writeback and verifies the presented resident contains those pixels. ### Non-blocking The two new `Expect` failure messages describe the opposite outcome from their assertions: the first expects `ResidentServesDisplay` to be true but says it does not serve; the second expects false but says it serves. Please correct the messages so a failure identifies the actual expected behavior. ```suggestion Expect(AgcDriver::ResidentServesDisplay(...), "a resident written after a clear fill serves the display"); Expect(!AgcDriver::ResidentServesDisplay(...), "a resident with no post-fill writes falls back to the clear"); ``` ## Sources - [Texture-wide write counter and fill snapshot](https://github.com/boykopovar/AnyPS5/blob/63ad794c49dcfe6e8db2f0893317427072ce74f9/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L5270-L5285) - [Per-unit clear-drop decision](https://github.com/boykopovar/AnyPS5/blob/63ad794c49dcfe6e8db2f0893317427072ce74f9/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L2411-L2419) - [New helper-only tests](https://github.com/boykopovar/AnyPS5/blob/63ad794c49dcfe6e8db2f0893317427072ce74f9/core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp#L218-L225) - [Live-resident selection](https://github.com/boykopovar/AnyPS5/blob/63ad794c49dcfe6e8db2f0893317427072ce74f9/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3386-L3398) - [Freshness check and refresh](https://github.com/boykopovar/AnyPS5/blob/63ad794c49dcfe6e8db2f0893317427072ce74f9/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3448-L3456) - [Refresh before presenting the selected resident](https://github.com/boykopovar/AnyPS5/blob/63ad794c49dcfe6e8db2f0893317427072ce74f9/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3571-L3585) ## Not verified I did not build or run CTests, reproduce the partial-clear scenario, or independently run the GPU/title test. The Windows test and title results in the PR description are author-reported; current Windows CI was still queued. ## To get this to a good state Make clear invalidation granular enough to preserve only post-fill writes, add the partial-write/untouched-region and CPU-write-after-writeback regressions, and correct the two failure messages. I will rerun the same checks on the updated head.
MarcZX10 commented 2026-10-31 12:33:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T12:33:08Z.

Review: APPROVED


Re-checked — new head, looks good

The exact head 0bdf054b93a864a7cca17ee6fe1d61d458c46b83 addresses the previously identified per-layer clear tracking and stale-resident refresh gaps, with regressions for both cases.

What I ran

Reviewed the updated head against PR base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4 and inspected the update from prior reviewed head 63ad794c49dcfe6e8db2f0893317427072ce74f9. The merge preview against current main 60bdb061356db736928eee431cd8bd4c9ba68036 was clean. Environment: Linux x86_64, Python 3.11.2.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879
git diff 63ad794c49dcfe6e8db2f0893317427072ce74f9..0bdf054b93a864a7cca17ee6fe1d61d458c46b83 -- core/libs/prx/libSceAgcDriver/Graphics core/libs/prx/libSceAgcDriver/Execution

Results

Check Result
Diff check Passed
Conventions and PR template Passed
Merge preview Passed against current main
Exact-head C++ build/tests and GPU run Reported by the author on Windows 11 with an RTX 4060 Laptop GPU; I did not independently run them
Hosted CI Windows was queued and Linux was skipped at the latest refresh
Unedited precheck output
All conventions checks passed.

Sources

Not verified

I did not build or run CTests or independently reproduce the GPU/title run. Hosted Windows remained queued at the final status refresh; Linux and specialized jobs were skipped.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5722720503 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5722720503). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T12:33:08Z. **Review:** APPROVED --- # Re-checked — new head, looks good The exact head `0bdf054b93a864a7cca17ee6fe1d61d458c46b83` addresses the previously identified per-layer clear tracking and stale-resident refresh gaps, with regressions for both cases. ## What I ran Reviewed the updated head against PR base `602c0e417ca11f53de54ffe7b3253e95cb93c0d4` and inspected the update from prior reviewed head `63ad794c49dcfe6e8db2f0893317427072ce74f9`. The merge preview against current `main` `60bdb061356db736928eee431cd8bd4c9ba68036` was clean. Environment: Linux x86_64, Python 3.11.2. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 git diff 63ad794c49dcfe6e8db2f0893317427072ce74f9..0bdf054b93a864a7cca17ee6fe1d61d458c46b83 -- core/libs/prx/libSceAgcDriver/Graphics core/libs/prx/libSceAgcDriver/Execution ``` ## Results | Check | Result | | --- | --- | | Diff check | Passed | | Conventions and PR template | Passed | | Merge preview | Passed against current `main` | | Exact-head C++ build/tests and GPU run | Reported by the author on Windows 11 with an RTX 4060 Laptop GPU; I did not independently run them | | Hosted CI | Windows was queued and Linux was skipped at the latest refresh | <details><summary>Unedited precheck output</summary> ```text All conventions checks passed. ``` </details> ## Sources - [Per-unit write tracking and clear invalidation at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/0bdf054b93a864a7cca17ee6fe1d61d458c46b83/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp) - [Live-resident refresh before presentation at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/0bdf054b93a864a7cca17ee6fe1d61d458c46b83/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp) - [Partial-write and CPU-write-after-writeback regressions at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/0bdf054b93a864a7cca17ee6fe1d61d458c46b83/core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp) ## Not verified I did not build or run CTests or independently reproduce the GPU/title run. Hosted Windows remained queued at the final status refresh; Linux and specialized jobs were skipped.
MarcZX10 commented 2026-10-31 14:04:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T14:04:27Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The new BDA writeback path skips non-sparse writable heap mirrors larger than 256 MiB, so BDA stores into those guest ranges do not reach guest memory.

What I ran

Reviewed head 1ce469442aea3e0a5e865e0f5b3b841826c0bbce against PR base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4; the live merge preview against current main 73f4f7e06e4f210a8c6570e335fd654dc0a86134 was clean. Environment: Linux x86_64, Python 3.11.2, Git 2.39.5. I inspected the changed write-span and writeback paths; I did not build or run C++ tests.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879
git diff --check 602c0e417ca11f53de54ffe7b3253e95cb93c0d4...1ce469442aea3e0a5e865e0f5b3b841826c0bbce

Results

Check Result
Diff check Passed
Conventions and PR template Passed
Current-main merge preview Clean
Hosted Windows Pending at review time
Hosted Linux and specialized jobs Skipped
C++ build and tests Not run locally; this initial review did not build
Optional ABI/test-quality helpers in isolated precheck Not executable there because the local helper scripts are absent; this is not a PR-source failure.
Unedited check output
All conventions checks passed.

# PR stack check — fresh
Target branch tip: `73f4f7e06e4f210a8c6570e335fd654dc0a86134`
All heads unchanged: **True**
- PR #13879: **clean** against current base; head `1ce469442aea3e0a5e865e0f5b3b841826c0bbce`

git diff --check exited successfully with no output.

Findings

Blocking

In addAddressStoreSpans, the loop over space->base skips every non-sparse mirrored region whose served range exceeds 256 MiB. The skipped region is still a writable heap mirror and can be exposed to a shader's BDA table; addressStores is enabled for writable address-based bindings. For a shader that writes through BDA without an overlapping explicit writable V# span, this range is not added to writes; takeHeapReferences therefore does not snapshot it and WriteBack does not copy shader changes from the mirror to guest memory. A valid BDA store can be silently lost solely because its containing writable heap is larger than the threshold. Please preserve writeback for those writable ranges, or explicitly refuse/fall back for such a binding before dispatch rather than silently accepting stores that will be dropped.

Non-blocking

None.

Sources

Not verified

  • Runtime behavior for writable non-sparse heap mirrors above 256 MiB; no such focused test is present in the added BDA test file.
  • Windows, Linux GPU, or console behavior on this new head.

To get this to a good state

Ensure stores to every accepted writable BDA heap range reach guest memory, and add a focused regression at or above the size boundary (or test an explicit pre-dispatch refusal). I will rerun the same checks on the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5723092247 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5723092247). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T14:04:27Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The new BDA writeback path skips non-sparse writable heap mirrors larger than 256 MiB, so BDA stores into those guest ranges do not reach guest memory. ## What I ran Reviewed head `1ce469442aea3e0a5e865e0f5b3b841826c0bbce` against PR base `602c0e417ca11f53de54ffe7b3253e95cb93c0d4`; the live merge preview against current `main` `73f4f7e06e4f210a8c6570e335fd654dc0a86134` was clean. Environment: Linux x86_64, Python 3.11.2, Git 2.39.5. I inspected the changed write-span and writeback paths; I did not build or run C++ tests. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 git diff --check 602c0e417ca11f53de54ffe7b3253e95cb93c0d4...1ce469442aea3e0a5e865e0f5b3b841826c0bbce ``` ## Results | Check | Result | |---|---| | Diff check | Passed | | Conventions and PR template | Passed | | Current-main merge preview | Clean | | Hosted Windows | Pending at review time | | Hosted Linux and specialized jobs | Skipped | | C++ build and tests | Not run locally; this initial review did not build | | Optional ABI/test-quality helpers in isolated precheck | Not executable there because the local helper scripts are absent; this is not a PR-source failure. | <details><summary>Unedited check output</summary> ```text All conventions checks passed. # PR stack check — fresh Target branch tip: `73f4f7e06e4f210a8c6570e335fd654dc0a86134` All heads unchanged: **True** - PR #13879: **clean** against current base; head `1ce469442aea3e0a5e865e0f5b3b841826c0bbce` ``` `git diff --check` exited successfully with no output. </details> ## Findings ### Blocking In `addAddressStoreSpans`, the loop over `space->base` skips every non-sparse mirrored region whose served range exceeds 256 MiB. The skipped region is still a writable heap mirror and can be exposed to a shader's BDA table; `addressStores` is enabled for writable address-based bindings. For a shader that writes through BDA without an overlapping explicit writable V# span, this range is not added to `writes`; `takeHeapReferences` therefore does not snapshot it and `WriteBack` does not copy shader changes from the mirror to guest memory. A valid BDA store can be silently lost solely because its containing writable heap is larger than the threshold. Please preserve writeback for those writable ranges, or explicitly refuse/fall back for such a binding before dispatch rather than silently accepting stores that will be dropped. ### Non-blocking None. ## Sources - [The size filter and BDA span collection at this head](https://github.com/boykopovar/AnyPS5/blob/1ce469442aea3e0a5e865e0f5b3b841826c0bbce/core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp#L6327-L6346) - [Heap-reference snapshot and mirror writeback paths at this head](https://github.com/boykopovar/AnyPS5/blob/1ce469442aea3e0a5e865e0f5b3b841826c0bbce/core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp#L6348-L6411) - [Writable address-based bindings enable store-span tracking](https://github.com/boykopovar/AnyPS5/blob/1ce469442aea3e0a5e865e0f5b3b841826c0bbce/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderAddressResources.cpp#L140-L150) ## Not verified - Runtime behavior for writable non-sparse heap mirrors above 256 MiB; no such focused test is present in the added BDA test file. - Windows, Linux GPU, or console behavior on this new head. ## To get this to a good state Ensure stores to every accepted writable BDA heap range reach guest memory, and add a focused regression at or above the size boundary (or test an explicit pre-dispatch refusal). I will rerun the same checks on the updated head.
MarcZX10 commented 2026-10-31 18:09:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T18:09:26Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The new failure path can skip a heap mirror's write-back reference and then silently discard that GPU write during WriteBack.

What I ran

Reviewed head 95ce8090aab7bdcead80c4e70764c2d215a7063e against PR base 602c0e417ca11f53de54ffe7b3253e95cb93c0d4; the merge preview against live main ca073ec3ad0d766ea9f4658e418a5c977001a353 was clean. Environment: Debian Linux 6.1, Python 3.11.2, GCC 12.2.0; no build or CTest run.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 --output-dir /tmp/anyps5-13879-review
git diff --check 602c0e417ca11f53de54ffe7b3253e95cb93c0d4...95ce8090aab7bdcead80c4e70764c2d215a7063e
python3 tools/pr_stack_check.py 13879 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-13879-review/stack
gh pr checks 13879 -R boykopovar/AnyPS5

Results

Check Result
Diff and conventions Passed.
Dependency and merge preview No declared dependencies; clean preview against live main ca073ec3ad0d766ea9f4658e418a5c977001a353.
Source review Found a blocking lost-write path when growResident fails while taking a heap reference snapshot. The added C++ regression suites were inspected, not run.
Precheck helper steps ABI and test-quality helper scripts could not launch because they are absent from the isolated PR checkout.
Hosted CI Windows was in progress; conventions, eligibility, intake, labels, portability and report passed; Linux and specialized jobs were skipped. The posted NVIDIA run is for older head 82ba74b, so it does not validate this head.
Raw outputs

git diff --check produced no output:

Conventions output:

All conventions checks passed.

Precheck helper errors:

/usr/bin/python3: can't open file '/tmp/anyps5-13879-review/head-95ce8090aab7-88550d82/tools/pr_abi_audit.py': [Errno 2] No such file or directory
/usr/bin/python3: can't open file '/tmp/anyps5-13879-review/head-95ce8090aab7-88550d82/tools/pr_test_quality.py': [Errno 2] No such file or directory

Stack report:

- PR #13879: **clean** against current base; head `95ce8090aab7bdcead80c4e70764c2d215a7063e`; changed paths: none reported
No declared PR dependencies were found in the target PR chain.

Hosted checks:

windows	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613640404
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613641759
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613641199
relinker	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613641461
relinker-asan	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613642123
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613642129
conventions	pass	20s	https://github.com/boykopovar/AnyPS5/actions/runs/41227145604/job/124613567401
eligibility	pass	4s	https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613617628
labels	pass	7s	https://github.com/boykopovar/AnyPS5/actions/runs/41227145598/job/124613566774
library-portability	pass	1m4s	https://github.com/boykopovar/AnyPS5/actions/runs/41227147973/job/124613573132
report	pass	51s	https://github.com/boykopovar/AnyPS5/actions/runs/41227148170/job/124613573851

Negative control

Assertion Mutation or change Did the new test fail?
If growResident cannot provide the bytes for a writable heap mirror, the GPU write must not be silently reported as committed. No mutation or constrained-budget failure test was run. Not exercised; the C++ test requires a build.

Findings

Blocking

takeHeapReferences() now catches std::runtime_error from growResident() and continues without adding a heapReferences entry for that write span. WriteBack() then continues again when the reference is absent or has the wrong length. Since growResident() throws when the mirror cannot be grown within heapMirrorBudget() (or its resident bind fails), an allocation/budget failure can therefore let the operation proceed while silently dropping the corresponding GPU result instead of writing it to guest memory or failing the operation. Please make this path fail safely or use a valid fallback that preserves the write; add a regression that forces the growth/bind failure and verifies the guest-visible result is not silently lost.

Non-blocking

None.

Sources

Not verified

No build, CTest, Linux runtime, GPU, or console run was performed. The latest reported NVIDIA pass covers the older 82ba74b head, not 95ce809. Windows CI was still running; Linux and specialized jobs were skipped.

To get this to a good state

Preserve or explicitly fail the GPU write when heap-reference growth fails, and add a regression that exercises that failure path. I will rerun the same no-build checks on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5724207410 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5724207410). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T18:09:26Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The new failure path can skip a heap mirror's write-back reference and then silently discard that GPU write during `WriteBack`. ## What I ran Reviewed head `95ce8090aab7bdcead80c4e70764c2d215a7063e` against PR base `602c0e417ca11f53de54ffe7b3253e95cb93c0d4`; the merge preview against live `main` `ca073ec3ad0d766ea9f4658e418a5c977001a353` was clean. Environment: Debian Linux 6.1, Python 3.11.2, GCC 12.2.0; no build or CTest run. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 --output-dir /tmp/anyps5-13879-review git diff --check 602c0e417ca11f53de54ffe7b3253e95cb93c0d4...95ce8090aab7bdcead80c4e70764c2d215a7063e python3 tools/pr_stack_check.py 13879 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-13879-review/stack gh pr checks 13879 -R boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | Diff and conventions | Passed. | | Dependency and merge preview | No declared dependencies; clean preview against live `main` `ca073ec3ad0d766ea9f4658e418a5c977001a353`. | | Source review | Found a blocking lost-write path when `growResident` fails while taking a heap reference snapshot. The added C++ regression suites were inspected, not run. | | Precheck helper steps | ABI and test-quality helper scripts could not launch because they are absent from the isolated PR checkout. | | Hosted CI | Windows was in progress; conventions, eligibility, intake, labels, portability and report passed; Linux and specialized jobs were skipped. The posted NVIDIA run is for older head `82ba74b`, so it does not validate this head. | <details><summary>Raw outputs</summary> `git diff --check` produced no output: ``` ``` Conventions output: ```text All conventions checks passed. ``` Precheck helper errors: ```text /usr/bin/python3: can't open file '/tmp/anyps5-13879-review/head-95ce8090aab7-88550d82/tools/pr_abi_audit.py': [Errno 2] No such file or directory /usr/bin/python3: can't open file '/tmp/anyps5-13879-review/head-95ce8090aab7-88550d82/tools/pr_test_quality.py': [Errno 2] No such file or directory ``` Stack report: ```text - PR #13879: **clean** against current base; head `95ce8090aab7bdcead80c4e70764c2d215a7063e`; changed paths: none reported No declared PR dependencies were found in the target PR chain. ``` Hosted checks: ```text windows pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613640404 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613641759 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613641199 relinker skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613641461 relinker-asan skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613642123 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613642129 conventions pass 20s https://github.com/boykopovar/AnyPS5/actions/runs/41227145604/job/124613567401 eligibility pass 4s https://github.com/boykopovar/AnyPS5/actions/runs/41227148037/job/124613617628 labels pass 7s https://github.com/boykopovar/AnyPS5/actions/runs/41227145598/job/124613566774 library-portability pass 1m4s https://github.com/boykopovar/AnyPS5/actions/runs/41227147973/job/124613573132 report pass 51s https://github.com/boykopovar/AnyPS5/actions/runs/41227148170/job/124613573851 ``` </details> ## Negative control | Assertion | Mutation or change | Did the new test fail? | |---|---|---| | If `growResident` cannot provide the bytes for a writable heap mirror, the GPU write must not be silently reported as committed. | No mutation or constrained-budget failure test was run. | Not exercised; the C++ test requires a build. | ## Findings ### Blocking `takeHeapReferences()` now catches `std::runtime_error` from `growResident()` and continues without adding a `heapReferences` entry for that write span. `WriteBack()` then continues again when the reference is absent or has the wrong length. Since `growResident()` throws when the mirror cannot be grown within `heapMirrorBudget()` (or its resident bind fails), an allocation/budget failure can therefore let the operation proceed while silently dropping the corresponding GPU result instead of writing it to guest memory or failing the operation. Please make this path fail safely or use a valid fallback that preserves the write; add a regression that forces the growth/bind failure and verifies the guest-visible result is not silently lost. ### Non-blocking None. ## Sources - [New skipped-snapshot path at this PR head](https://github.com/boykopovar/AnyPS5/blob/95ce8090aab7bdcead80c4e70764c2d215a7063e/core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp#L6368-L6389) - [Write-back skips spans without a saved reference at this PR head](https://github.com/boykopovar/AnyPS5/blob/95ce8090aab7bdcead80c4e70764c2d215a7063e/core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp#L6418-L6436) - [`growResident` throws when budget or resident binding cannot be satisfied at this PR head](https://github.com/boykopovar/AnyPS5/blob/95ce8090aab7bdcead80c4e70764c2d215a7063e/core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp#L2652-L2684) ## Not verified No build, CTest, Linux runtime, GPU, or console run was performed. The latest reported NVIDIA pass covers the older `82ba74b` head, not `95ce809`. Windows CI was still running; Linux and specialized jobs were skipped. ## To get this to a good state Preserve or explicitly fail the GPU write when heap-reference growth fails, and add a regression that exercises that failure path. I will rerun the same no-build checks on the new head.
adriadam10 commented 2026-11-01 05:08:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-11-01T05:08:14Z.

Review: CHANGES_REQUESTED


Thanks for the work on the DCC clear ordering; the first two commits (63ad794c49, 0bdf054b93) match the title and look right. What blocks the PR:

  • One topic per PR. The branch carries 17 more commits unrelated to the title: BDA store write-back into heap mirrors (1ce469442a, a3c5f14155, 338ba7d05f, 59f44917c1, 229d36bf03, d53b956f53, 02f9dc2f77; the same changes as #12840 and #10304), native depth-stencil resolve / MSAA stencil sampling / HTILE relaxations (69ae34b730, 8a9d858251, 547a4d1760, 93f70269fd, 2f6fd3e765, 82ba74badd, 587f4a5e47, f6c6ce89db, 95ce8090aa), triple buffering by default (352710034b) and the compute pipeline cache key (b22714c17a). Please drop them and open each as its own PR; if the DCC change needs #12840 / #10304, list them under Depends on (as @EagleBearerYS asked).
  • Open review point. @MarcZX10's request on the current head: when growResident fails while taking a heap reference snapshot, the mirror's write-back reference is skipped and the GPU write is discarded in WriteBack. This goes away with the BDA commits, but if it stays in some PR it needs a fix and a test.
  • Perf claim. The triple-buffering default needs tools/trace_digest.py summaries of main and the change from the same machine and scene, in its own PR.
  • Conflicts. The branch conflicts with main; please rebase after splitting.

Welcome back once the PR contains only the DCC clear ordering.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5726577411 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5726577411). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-11-01T05:08:14Z. **Review:** CHANGES_REQUESTED --- Thanks for the work on the DCC clear ordering; the first two commits (`63ad794c49`, `0bdf054b93`) match the title and look right. What blocks the PR: - **One topic per PR.** The branch carries 17 more commits unrelated to the title: BDA store write-back into heap mirrors (`1ce469442a`, `a3c5f14155`, `338ba7d05f`, `59f44917c1`, `229d36bf03`, `d53b956f53`, `02f9dc2f77`; the same changes as #12840 and #10304), native depth-stencil resolve / MSAA stencil sampling / HTILE relaxations (`69ae34b730`, `8a9d858251`, `547a4d1760`, `93f70269fd`, `2f6fd3e765`, `82ba74badd`, `587f4a5e47`, `f6c6ce89db`, `95ce8090aa`), triple buffering by default (`352710034b`) and the compute pipeline cache key (`b22714c17a`). Please drop them and open each as its own PR; if the DCC change needs #12840 / #10304, list them under Depends on (as @EagleBearerYS asked). - **Open review point.** @MarcZX10's request on the current head: when `growResident` fails while taking a heap reference snapshot, the mirror's write-back reference is skipped and the GPU write is discarded in `WriteBack`. This goes away with the BDA commits, but if it stays in some PR it needs a fix and a test. - **Perf claim.** The triple-buffering default needs `tools/trace_digest.py` summaries of `main` and the change from the same machine and scene, in its own PR. - **Conflicts.** The branch conflicts with `main`; please rebase after splitting. Welcome back once the PR contains only the DCC clear ordering.
adriadam10 commented 2026-11-01 07:05:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-11-01T07:05:31Z.

Review: CHANGES_REQUESTED


The merge queue's Linux run for this head (run 41282047209) fails two tests that pass on main: agc_driver_recorder and agc_storage_write_back (same binary, storageRefreshTests). Last line before the failure: AGC graphics: results dead under new clear keys were stored (tests/Recorder.cpp:5994).

  • Texture.cpp:2448: droppable now drops a clear only when !HasWritesSinceFill(unit). In that test the keys change by a CPU store into the DCC key memory, with no NoteKeysFill, so layerWrittenSinceFill is still true from the earlier draw. The draw's result is dead under the new clear keys but is now stored, which the test pins (new 0001 clear keys must leave guest memory unchanged). "Written since the fill" only means "written after these keys" when the keys came from a fill; keys changed by the CPU need a reset point too (or the check must compare against the keys' own change).
  • Texture.cpp:2485: droppable is no longer behind blockUnits, so the keysChanged && IsDccClear(keys) drop now also applies to textures without block units. If that is intended, say why and add a test; otherwise keep the blockUnits condition around the clear-drop as before.

Please run agc_driver_recorder and agc_storage_write_back on your side (they need ANYPS5_REQUIRE_VULKAN=1) and keep the new ordering tests alongside this existing one.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5726915861 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5726915861). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-11-01T07:05:31Z. **Review:** CHANGES_REQUESTED --- The merge queue's Linux run for this head (run 41282047209) fails two tests that pass on main: `agc_driver_recorder` and `agc_storage_write_back` (same binary, `storageRefreshTests`). Last line before the failure: `AGC graphics: results dead under new clear keys were stored` (`tests/Recorder.cpp:5994`). - `Texture.cpp:2448`: `droppable` now drops a clear only when `!HasWritesSinceFill(unit)`. In that test the keys change by a CPU store into the DCC key memory, with no `NoteKeysFill`, so `layerWrittenSinceFill` is still true from the earlier draw. The draw's result is dead under the new clear keys but is now stored, which the test pins (`new 0001 clear keys` must leave guest memory unchanged). "Written since the fill" only means "written after these keys" when the keys came from a fill; keys changed by the CPU need a reset point too (or the check must compare against the keys' own change). - `Texture.cpp:2485`: `droppable` is no longer behind `blockUnits`, so the `keysChanged && IsDccClear(keys)` drop now also applies to textures without block units. If that is intended, say why and add a test; otherwise keep the `blockUnits` condition around the clear-drop as before. Please run `agc_driver_recorder` and `agc_storage_write_back` on your side (they need `ANYPS5_REQUIRE_VULKAN=1`) and keep the new ordering tests alongside this existing one.
MarcZX10 commented 2026-11-01 09:09:19 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Re-checked — new head, tests needed for the clear-key reset

The call-site guard is back at 90f0b5fd3b, which answers the non-block question from my earlier comment, but the new clear-key reset also changes the presentation check at this head, and no test or build result covers that yet.

What I ran

  • Head 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4, the PR's current head. Its parent is e250a91f48127e1a69099a38491702c006ba0ccf; the new commit is 90f0b5fd3b. bafc1a1346 is no longer in the PR's history, so this review compares against e250a91f48 (the PR-level delta) and against current main.
  • Base for comparison: current main 26fa1212b82f76dd49cf12d65e445d6ff3e0844c. The live stack check reports the PR as mergeable; the merge state is BLOCKED (checks pending), not conflicting.
  • No build, configure or compile.
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 --output-dir /dev/shm/reviewer-run-20261101-13879
python3 tools/pr_abi_audit.py --repo . --base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c --head 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 --json
git archive 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 core/libs/prx/libSceAgcDriver | tar -x -C <scratch dir>
python3 -I tools/pr_test_quality.py --root <scratch dir> --json core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp
git diff e250a91f48127e1a69099a38491702c006ba0ccf 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 -- core/libs/prx/libSceAgcDriver
git grep -n "HasWritesSinceFill\|LayerWrittenSinceFill" 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 -- core

The precheck's ABI and test-quality helpers failed because the head tree has no tools/ directory, so both were run by hand as listed above.

Results

Check Result
Diff check Passed (precheck)
Conventions and PR template Passed (precheck)
Live dependency and mergeability Passed (precheck); merge state BLOCKED, checks pending
ABI audit (manual) Not applicable; no APS5_VABI declaration changed
Test-quality heuristic (manual) Two possible-unregistered-cpp-test findings, both false positives: DisplayBufferDcc.cpp is registered in tests/cmake/agc_display_buffer_dcc_tests.cmake line 1, and DccKeysFirstWrite.cpp is picked up by the file(GLOB ... tests/execution/*.cpp) in CMakeLists.txt line 551. The test files are unchanged since e250a91f48
Hosted CI at 90f0b5fd3b Pending when checked: conventions, eligibility, labels, library-portability and report queued
Build and C++ tests Not run (no-build rule). The author's reply says they have not rebuilt at this head
ABI audit, unedited output (manual)
{
  "status": "not_applicable",
  "symbols": [],
  "findings": [],
  "limitations": [
    "No changed APS5_VABI declaration/definition or APS5_EXPORT alias was recognized in the PR diff."
  ]
}
Test-quality heuristic, unedited output (manual)
{
  "findings": [
    {
      "path": "core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    },
    {
      "path": "core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    }
  ],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}

Findings

Blocking: none substantiated by source reading. The request is not for changes; approval is withheld until the evidence below exists at this head.

Non-blocking / needed before approval:

  1. Call site (resolved). Texture.cpp line 2491 is if (blockUnits && droppable(layer)), the same guard as main line 2483. A non-block texture no longer reaches droppable, which answers the question in my earlier comment.
  2. The reset also changes presentation, not only the drop rule. The new block at Texture.cpp lines 2331-2334 resets writesAtFill and layerWrittenSinceFill for a CPU-established clear-code change. StorageTexture::HasWritesSinceFill() is read by ResidentServesDisplay (VulkanDevice.cpp line 3413). In DisplayBuffer.cpp line 301, when the display's keys equal the filled clear keys and there are no writes since fill, the resident image is not used (return false). After a CPU clear-key change, that check can now return false where it previously went on to KeysServeSurface. The author's reply and the commit describe only the drop rule.
  3. No test at this head. The commit adds no test, and the author says the Windows results were for 20675e51bd, not this head. Hosted CI for this head has not reported.

Asks before approval:

  • Report results at 90f0b5fd3b for agc_driver_recorder, agc_storage_write_back, agc_display_buffer_dcc, and agc_driver_dcc_keys_first_write, from the Linux merge queue and the Windows path, with the head SHA in each result.
  • Add a case for the CPU clear-key path: a GPU write after a fill, then a CPU store that changes the keys to a clear code without a fill. It should check that the pending result is dropped and that the display path (ResidentServesDisplay) returns the expected source. If an existing test already covers either part, name it.

Sources

Permalinks at head 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4:

Current main call site: github.com/boykopovar/AnyPS5@26fa1212b8/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp (L2483)

Not verified

  • No build and no C++ test run at 90f0b5fd3b. No test in the PR is shown to reach the new reset branch; I did not establish whether an existing test does.
  • Whether a write issued between a CPU key store and the next refresh should count as dead on hardware was not checked against hardware documentation. This review does not assert the new behaviour is wrong; it asks for evidence.
  • Hosted CI for this head was pending when checked, including the Linux and Windows jobs. The author reports a Windows host limitation (no watched host import) that skips the watched refresh branch on that host.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5727323815 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5727323815). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T09:09:19Z. **Review:** COMMENTED --- # Re-checked — new head, tests needed for the clear-key reset The call-site guard is back at `90f0b5fd3b`, which answers the non-block question from my earlier comment, but the new clear-key reset also changes the presentation check at this head, and no test or build result covers that yet. ## What I ran - Head `90f0b5fd3b22d57a8d42a8bd133005003e93dcf4`, the PR's current head. Its parent is `e250a91f48127e1a69099a38491702c006ba0ccf`; the new commit is `90f0b5fd3b`. `bafc1a1346` is no longer in the PR's history, so this review compares against `e250a91f48` (the PR-level delta) and against current `main`. - Base for comparison: current `main` `26fa1212b82f76dd49cf12d65e445d6ff3e0844c`. The live stack check reports the PR as mergeable; the merge state is `BLOCKED` (checks pending), not conflicting. - No build, configure or compile. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13879 --output-dir /dev/shm/reviewer-run-20261101-13879 python3 tools/pr_abi_audit.py --repo . --base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c --head 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 --json git archive 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 core/libs/prx/libSceAgcDriver | tar -x -C <scratch dir> python3 -I tools/pr_test_quality.py --root <scratch dir> --json core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp git diff e250a91f48127e1a69099a38491702c006ba0ccf 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 -- core/libs/prx/libSceAgcDriver git grep -n "HasWritesSinceFill\|LayerWrittenSinceFill" 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 -- core ``` The precheck's ABI and test-quality helpers failed because the head tree has no `tools/` directory, so both were run by hand as listed above. ## Results | Check | Result | |---|---| | Diff check | Passed (precheck) | | Conventions and PR template | Passed (precheck) | | Live dependency and mergeability | Passed (precheck); merge state `BLOCKED`, checks pending | | ABI audit (manual) | Not applicable; no `APS5_VABI` declaration changed | | Test-quality heuristic (manual) | Two `possible-unregistered-cpp-test` findings, both false positives: `DisplayBufferDcc.cpp` is registered in `tests/cmake/agc_display_buffer_dcc_tests.cmake` line 1, and `DccKeysFirstWrite.cpp` is picked up by the `file(GLOB ... tests/execution/*.cpp)` in `CMakeLists.txt` line 551. The test files are unchanged since `e250a91f48` | | Hosted CI at `90f0b5fd3b` | Pending when checked: conventions, eligibility, labels, library-portability and report queued | | Build and C++ tests | Not run (no-build rule). The author's reply says they have not rebuilt at this head | <details><summary>ABI audit, unedited output (manual)</summary> ```text { "status": "not_applicable", "symbols": [], "findings": [], "limitations": [ "No changed APS5_VABI declaration/definition or APS5_EXPORT alias was recognized in the PR diff." ] } ``` </details> <details><summary>Test-quality heuristic, unedited output (manual)</summary> ```text { "findings": [ { "path": "core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." }, { "path": "core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." } ], "negative_control_candidates": [], "limits": [ "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error." ] } ``` </details> ## Findings **Blocking:** none substantiated by source reading. The request is not for changes; approval is withheld until the evidence below exists at this head. **Non-blocking / needed before approval:** 1. **Call site (resolved).** `Texture.cpp` line 2491 is `if (blockUnits && droppable(layer))`, the same guard as `main` line 2483. A non-block texture no longer reaches `droppable`, which answers the question in my earlier comment. 2. **The reset also changes presentation, not only the drop rule.** The new block at `Texture.cpp` lines 2331-2334 resets `writesAtFill` and `layerWrittenSinceFill` for a CPU-established clear-code change. `StorageTexture::HasWritesSinceFill()` is read by `ResidentServesDisplay` (`VulkanDevice.cpp` line 3413). In `DisplayBuffer.cpp` line 301, when the display's keys equal the filled clear keys and there are no writes since fill, the resident image is not used (`return false`). After a CPU clear-key change, that check can now return `false` where it previously went on to `KeysServeSurface`. The author's reply and the commit describe only the drop rule. 3. **No test at this head.** The commit adds no test, and the author says the Windows results were for `20675e51bd`, not this head. Hosted CI for this head has not reported. **Asks before approval:** - Report results at `90f0b5fd3b` for `agc_driver_recorder`, `agc_storage_write_back`, `agc_display_buffer_dcc`, and `agc_driver_dcc_keys_first_write`, from the Linux merge queue and the Windows path, with the head SHA in each result. - Add a case for the CPU clear-key path: a GPU write after a fill, then a CPU store that changes the keys to a clear code without a fill. It should check that the pending result is dropped and that the display path (`ResidentServesDisplay`) returns the expected source. If an existing test already covers either part, name it. ## Sources Permalinks at head `90f0b5fd3b22d57a8d42a8bd133005003e93dcf4`: - Reset at CPU clear-key change: https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L2331-L2334 - Drop-rule call site: https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L2491 - `ResidentServesDisplay` early return: https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Execution/src/DisplayBuffer.cpp#L294-L301 - Caller reading `HasWritesSinceFill()`: https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3412-L3413 Current main call site: https://github.com/boykopovar/AnyPS5/blob/26fa1212b82f76dd49cf12d65e445d6ff3e0844c/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L2483 ## Not verified - No build and no C++ test run at `90f0b5fd3b`. No test in the PR is shown to reach the new reset branch; I did not establish whether an existing test does. - Whether a write issued between a CPU key store and the next refresh should count as dead on hardware was not checked against hardware documentation. This review does not assert the new behaviour is wrong; it asks for evidence. - Hosted CI for this head was pending when checked, including the Linux and Windows jobs. The author reports a Windows host limitation (`no watched host import`) that skips the watched refresh branch on that host.
MarcZX10 commented 2026-11-01 09:42:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T09:42:15Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Your reply resolves my concern about the non-block texture guard, but it does not verify the new clear-key marker reset that changes whether pending resident data serves the display.

What I ran

Rechecked open PR #13879 at head 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 against base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c, including the new commit's diff against e250a91f48127e1a69099a38491702c006ba0ccf, the display call path, and the existing focused tests. I queried current hosted CI. Environment: Debian GNU/Linux 12; no compiler, build, or test was run in this follow-up.

git diff --unified=40 e250a91f48127e1a69099a38491702c006ba0ccf 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 -- core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
git show 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4:core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp
git show 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4:core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp
gh api repos/boykopovar/AnyPS5/pulls/13879
gh pr checks 13879 -R boykopovar/AnyPS5

Results

Check Result
Reviewed head and base PR remains open and mergeable at the SHAs above. The latest commit 90f0b5fd3b changes Texture.hpp and Texture.cpp; it adds no test changes.
Non-block texture ordering Confirmed in source: the clear-key droppable case precedes the !blockUnits guard, and the caller invokes it only when blockUnits is true. This resolves that part of my earlier concern.
New clear-key marker reset Not covered by the existing focused tests I inspected. ResidentServesDisplayOrderTests tests the helper with hasWritesSinceFill passed as false, but does not exercise the new refresh() reset or prove that the display path selects the expected source after a CPU clear-key change.
Hosted CI Conventions, eligibility, labels, library-portability, and report pass. No Linux or Windows product test appears in the current check list.
Local build/tests Not run.

Negative control

Assertion Change made to code under test Did the new test fail?
A CPU clear-key change resets the written-since-fill state and causes the correct resident/display fallback No mutation performed; no test covering this transition was found in the inspected tests Could not be exercised.

Findings

Blocking

The latest commit resets writesAtFill and layerWrittenSinceFill when a refresh observes a CPU change to clear-code keys. HasWritesSinceFill() feeds ResidentServesDisplay(), whose clear-key path rejects the resident when that value is false. The existing helper test only supplies false directly; it does not test the new state transition or its display consequence. The explanation about non-block textures establishes that their ordering matches main, but it does not validate this separate reset behavior.

Please add or identify an exact-head regression test for a pending resident followed by a CPU clear-key change without a GPU key fill, and assert the intended pending-result and display-source behavior. If the expected behavior is different, document that rationale and test the chosen behavior. I will rerun the same focused checks on the updated head.

Non-blocking

The current hosted checks pass, but no product test is listed for this head. The author-reported CTest results in earlier discussion were for the preceding head, not 90f0b5fd3b.

Sources

Not verified

No build, CTest, Linux GPU run, Windows product run, or console behavior was verified at head 90f0b5fd3b in this follow-up.

To get this to a good state

Add or identify the focused regression described above and post exact-head test results. I will re-run the same source and test checks on the resulting head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5727430337 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13879#pullrequestreview-5727430337). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T09:42:15Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Your reply resolves my concern about the non-block texture guard, but it does not verify the new clear-key marker reset that changes whether pending resident data serves the display. ## What I ran Rechecked open PR #13879 at head `90f0b5fd3b22d57a8d42a8bd133005003e93dcf4` against base `26fa1212b82f76dd49cf12d65e445d6ff3e0844c`, including the new commit's diff against `e250a91f48127e1a69099a38491702c006ba0ccf`, the display call path, and the existing focused tests. I queried current hosted CI. Environment: Debian GNU/Linux 12; no compiler, build, or test was run in this follow-up. ```sh git diff --unified=40 e250a91f48127e1a69099a38491702c006ba0ccf 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4 -- core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp git show 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4:core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp git show 90f0b5fd3b22d57a8d42a8bd133005003e93dcf4:core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cpp gh api repos/boykopovar/AnyPS5/pulls/13879 gh pr checks 13879 -R boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | Reviewed head and base | PR remains open and mergeable at the SHAs above. The latest commit `90f0b5fd3b` changes `Texture.hpp` and `Texture.cpp`; it adds no test changes. | | Non-block texture ordering | Confirmed in source: the clear-key `droppable` case precedes the `!blockUnits` guard, and the caller invokes it only when `blockUnits` is true. This resolves that part of my earlier concern. | | New clear-key marker reset | Not covered by the existing focused tests I inspected. `ResidentServesDisplayOrderTests` tests the helper with `hasWritesSinceFill` passed as `false`, but does not exercise the new `refresh()` reset or prove that the display path selects the expected source after a CPU clear-key change. | | Hosted CI | Conventions, eligibility, labels, library-portability, and report pass. No Linux or Windows product test appears in the current check list. | | Local build/tests | Not run. | ## Negative control | Assertion | Change made to code under test | Did the new test fail? | |---|---|---| | A CPU clear-key change resets the written-since-fill state and causes the correct resident/display fallback | No mutation performed; no test covering this transition was found in the inspected tests | Could not be exercised. | ## Findings ### Blocking The latest commit resets `writesAtFill` and `layerWrittenSinceFill` when a refresh observes a CPU change to clear-code keys. `HasWritesSinceFill()` feeds `ResidentServesDisplay()`, whose clear-key path rejects the resident when that value is false. The existing helper test only supplies `false` directly; it does not test the new state transition or its display consequence. The explanation about non-block textures establishes that their ordering matches `main`, but it does not validate this separate reset behavior. Please add or identify an exact-head regression test for a pending resident followed by a CPU clear-key change without a GPU key fill, and assert the intended pending-result and display-source behavior. If the expected behavior is different, document that rationale and test the chosen behavior. I will rerun the same focused checks on the updated head. ### Non-blocking The current hosted checks pass, but no product test is listed for this head. The author-reported CTest results in earlier discussion were for the preceding head, not `90f0b5fd3b`. ## Sources - [Marker reset at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L2323-L2333) - [`HasWritesSinceFill` state accessor](https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp#L453-L456) - [Display-source decision using that state](https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Execution/src/DisplayBuffer.cpp#L294-L302) - [Caller passing resident state into the display decision](https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3412-L3414) - [Existing helper-level display test](https://github.com/boykopovar/AnyPS5/blob/90f0b5fd3b22d57a8d42a8bd133005003e93dcf4/core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp#L218-L225) - [Author's response addressing the non-block ordering point](https://github.com/boykopovar/AnyPS5/pull/13879#issuecomment-6555556763) ## Not verified No build, CTest, Linux GPU run, Windows product run, or console behavior was verified at head `90f0b5fd3b` in this follow-up. ## To get this to a good state Add or identify the focused regression described above and post exact-head test results. I will re-run the same source and test checks on the resulting head.
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!13879
No description provided.