fix(agc): reclaim retired multisample color targets #6215

Merged
Ondra97 merged 3 commits from upstream-pr/6215 into main 2026-10-18 23:37:14 +00:00
Ondra97 commented 2026-10-15 04:09:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-15T04:09:34Z.


What

A fully unmapped multisampled color target loses its guest-read guard, but the global target cache used to retain its Vulkan image until device teardown. In the original reproduction on main a077a88df5bc4ec26a3049aa721ac37ec8f02305, 32 create/unmap cycles left 32 images allocated. The cache now removes retired owners at the next target, sampled, or storage lookup. Recorded commands and sampled views retain the target for as long as they use it; framebuffer reuse checks live owner identities.

This rebase uses main 9121a9e4554e55105d6afddcf39073bb9c5fc259 at head 65f6549e0f6ab442aff09a15dd3adf21c802b11a. Main now keys multisampled sampled views by four component swizzles and view type and caches shared_ptr<Texture> values. The returned sampled view aliases its target owner, without a reference cycle. Storage promotion retains the old sampled views and both image allocations until their final use, including an already-promoted target used in a later batch. Ownership pins and allocation accounting use the target's recording device.

#6175 has merged, so its carried commit is removed. #6522 is still open; its current patch is carried with Mehran's authorship preserved and remains the declared prerequisite.

Tested

Windows (native host): Windows 11 Pro build 26300; AMD Ryzen 9 7900X, 31.7 GiB RAM; NVIDIA GeForce RTX 4070 Ti SUPER, driver 617.42 / 32.0.16.1742. Release, MinGW-w64 GCC 15.2.0 r7, Ninja, BUILD_TESTING=ON, SPIRV-Tools OFF. Five AGC execution fixtures were built as real tests; other execution fixtures use the configuration's skip stubs.

  • Full application and patched-library build: PASS, cmake --build <build> --target all libs --parallel 4.
  • agc_driver_multisample_retirement, agc_driver_multisample_fill_host_only, agc_driver_multisampled_pass_order, agc_driver_pass_input_hazard, and agc_driver_sample_multisample_target: 5/5 PASS once, followed by five repeat runs of each (25/25 PASS); no failures or skips. Used ANYPS5_REQUIRE_VULKAN=1, ANYPS5_GPU=NVIDIA, and ANYPS5_NO_SHADER_CACHE=1. Each test's log confirms the NVIDIA device was selected.
  • agc_driver_graphics, including framebuffer owner identity checks: 1/1 PASS.
  • The retirement fixture reported 32 idle remaps with 32 images created, 31 destroyed, and one live cache entry; clearing the cache released the last one. It also checked retained sampled views through storage promotion, accounting for both allocations, retention across a later batch, and eventual release. The fill fixture checked isolation from another device's active recorder.
  • Conventions, whitespace, main synchronization, and clean merge against the stated base: PASS.

Linux (VirtualBox): NOT RUN for this rebase, as requested. Native Linux build, runtime, and GPU validation: NOT RUN; testing is requested in the PR discussion. Earlier Linux (VirtualBox) results belong to an older head and are not counted here. Retail titles, console timing, and other GPU vendors were not tested. The pass-order fixture asserts recorded barriers; it does not resolve the multisampled image into guest memory. Retirement remains lazy at the next lookup; partial unmaps keep the guard.

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: #6522
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4070 Ti SUPER, driver 617.42 / 32.0.16.1742, Windows 11 Pro build 26300
  • AI-assisted: yes (Codex)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4868048761 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6215). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-15T04:09:34Z. --- ### What A fully unmapped multisampled color target loses its guest-read guard, but the global target cache used to retain its Vulkan image until device teardown. In the original reproduction on main `a077a88df5bc4ec26a3049aa721ac37ec8f02305`, 32 create/unmap cycles left 32 images allocated. The cache now removes retired owners at the next target, sampled, or storage lookup. Recorded commands and sampled views retain the target for as long as they use it; framebuffer reuse checks live owner identities. This rebase uses main `9121a9e4554e55105d6afddcf39073bb9c5fc259` at head `65f6549e0f6ab442aff09a15dd3adf21c802b11a`. Main now keys multisampled sampled views by four component swizzles and view type and caches `shared_ptr<Texture>` values. The returned sampled view aliases its target owner, without a reference cycle. Storage promotion retains the old sampled views and both image allocations until their final use, including an already-promoted target used in a later batch. Ownership pins and allocation accounting use the target's recording device. #6175 has merged, so its carried commit is removed. #6522 is still open; its current patch is carried with Mehran's authorship preserved and remains the declared prerequisite. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> **Windows (native host):** Windows 11 Pro build 26300; AMD Ryzen 9 7900X, 31.7 GiB RAM; NVIDIA GeForce RTX 4070 Ti SUPER, driver 617.42 / 32.0.16.1742. Release, MinGW-w64 GCC 15.2.0 r7, Ninja, `BUILD_TESTING=ON`, SPIRV-Tools OFF. Five AGC execution fixtures were built as real tests; other execution fixtures use the configuration's skip stubs. - Full application and patched-library build: **PASS**, `cmake --build <build> --target all libs --parallel 4`. - `agc_driver_multisample_retirement`, `agc_driver_multisample_fill_host_only`, `agc_driver_multisampled_pass_order`, `agc_driver_pass_input_hazard`, and `agc_driver_sample_multisample_target`: **5/5 PASS** once, followed by five repeat runs of each (**25/25 PASS**); no failures or skips. Used `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_GPU=NVIDIA`, and `ANYPS5_NO_SHADER_CACHE=1`. Each test's log confirms the NVIDIA device was selected. - `agc_driver_graphics`, including framebuffer owner identity checks: **1/1 PASS**. - The retirement fixture reported 32 idle remaps with 32 images created, 31 destroyed, and one live cache entry; clearing the cache released the last one. It also checked retained sampled views through storage promotion, accounting for both allocations, retention across a later batch, and eventual release. The fill fixture checked isolation from another device's active recorder. - Conventions, whitespace, main synchronization, and clean merge against the stated base: **PASS**. **Linux (VirtualBox): NOT RUN** for this rebase, as requested. **Native Linux build, runtime, and GPU validation: NOT RUN**; testing is requested in the PR discussion. Earlier Linux (VirtualBox) results belong to an older head and are not counted here. Retail titles, console timing, and other GPU vendors were not tested. The pass-order fixture asserts recorded barriers; it does not resolve the multisampled image into guest memory. Retirement remains lazy at the next lookup; partial unmaps keep the guard. ### 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: #6522 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4070 Ti SUPER, driver 617.42 / 32.0.16.1742, Windows 11 Pro build 26300 - [x] AI-assisted: yes (Codex)
github-actions[bot] commented 2026-10-15 04:17:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T04:17:30Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6465 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp L636
PR 6498 docs/dev/debt/libSceAgcDriver.md L56
PR 6571 docs/dev/debt/libSceAgcDriver.md L132-133
PR 6612 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp L1817
PR 6683 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp L2315
core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp L254-257, L368-369
PR 7254 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp L1603
PR 7650 docs/dev/debt/libSceAgcDriver.md L132

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1191 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 1368 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 2434 docs/dev/debt/libSceAgcDriver.md
PR 4040 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 4448 docs/dev/debt/libSceAgcDriver.md
PR 4650 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5431 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 5441 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5499 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5500 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6194 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6218 docs/dev/debt/libSceAgcDriver.md
PR 6223 docs/dev/debt/libSceAgcDriver.md
PR 6235 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6273 docs/dev/debt/libSceAgcDriver.md
PR 6280 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6300 docs/dev/debt/libSceAgcDriver.md
PR 6312 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6412 docs/dev/debt/libSceAgcDriver.md
PR 6414 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 6454 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6472 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6481 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6529 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6535 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6539 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6549 docs/dev/debt/libSceAgcDriver.md
PR 6563 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6606 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 6615 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6628 core/libs/prx/libSceAgcDriver/Graphics/include/MultisampleTarget.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp
PR 6636 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6763 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 6786 docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6867 docs/dev/debt/libSceAgcDriver.md
PR 6868 docs/dev/debt/libSceAgcDriver.md
PR 6926 docs/dev/debt/libSceAgcDriver.md
PR 6941 docs/dev/debt/libSceAgcDriver.md
PR 6946 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6947 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6970 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6971 core/libs/prx/libSceAgcDriver/Graphics/include/MultisampleTarget.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp
PR 6972 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6977 docs/dev/debt/libSceAgcDriver.md
PR 7008 docs/dev/debt/libSceAgcDriver.md
PR 7085 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7201 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 7250 core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7258 docs/dev/debt/libSceAgcDriver.md
PR 7332 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7390 docs/dev/debt/libSceAgcDriver.md
PR 7432 docs/dev/debt/libSceAgcDriver.md
PR 7505 docs/dev/debt/libSceAgcDriver.md
PR 7604 docs/dev/debt/libSceAgcDriver.md
PR 7642 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7687 docs/dev/debt/libSceAgcDriver.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6184294735 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6215#issuecomment-6184294735). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T04:17:30Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6465](https://www.github.com/boykopovar/AnyPS5/pull/6465) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` [L636](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp#L636) | | | | [PR 6498](https://www.github.com/boykopovar/AnyPS5/pull/6498) | `docs/dev/debt/libSceAgcDriver.md` [L56](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/docs/dev/debt/libSceAgcDriver.md#L56) | | | | [PR 6571](https://www.github.com/boykopovar/AnyPS5/pull/6571) | `docs/dev/debt/libSceAgcDriver.md` [L132-133](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/docs/dev/debt/libSceAgcDriver.md#L132-L133) | | | | [PR 6612](https://www.github.com/boykopovar/AnyPS5/pull/6612) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` [L1817](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp#L1817) | | | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` [L2315](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp#L2315)<br>`core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp` [L254-257](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp#L254-L257), [L368-369](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp#L368-L369) | | | | [PR 7254](https://www.github.com/boykopovar/AnyPS5/pull/7254) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` [L1603](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp#L1603) | | | | [PR 7650](https://www.github.com/boykopovar/AnyPS5/pull/7650) | `docs/dev/debt/libSceAgcDriver.md` [L132](https://github.com/boykopovar/AnyPS5/blob/84c1a4d9a26429cb483ec963195cff8ef25d128b/docs/dev/debt/libSceAgcDriver.md#L132) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 1191](https://www.github.com/boykopovar/AnyPS5/pull/1191) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 5058](https://www.github.com/boykopovar/AnyPS5/pull/5058) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6218](https://www.github.com/boykopovar/AnyPS5/pull/6218) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6273](https://www.github.com/boykopovar/AnyPS5/pull/6273) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6312](https://www.github.com/boykopovar/AnyPS5/pull/6312) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6414](https://www.github.com/boykopovar/AnyPS5/pull/6414) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 6454](https://www.github.com/boykopovar/AnyPS5/pull/6454) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6472](https://www.github.com/boykopovar/AnyPS5/pull/6472) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6529](https://www.github.com/boykopovar/AnyPS5/pull/6529) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6535](https://www.github.com/boykopovar/AnyPS5/pull/6535) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6549](https://www.github.com/boykopovar/AnyPS5/pull/6549) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6563](https://www.github.com/boykopovar/AnyPS5/pull/6563) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6606](https://www.github.com/boykopovar/AnyPS5/pull/6606) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6628](https://www.github.com/boykopovar/AnyPS5/pull/6628) | `core/libs/prx/libSceAgcDriver/Graphics/include/MultisampleTarget.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp` | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6763](https://www.github.com/boykopovar/AnyPS5/pull/6763) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp` | | [PR 6786](https://www.github.com/boykopovar/AnyPS5/pull/6786) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6926](https://www.github.com/boykopovar/AnyPS5/pull/6926) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6941](https://www.github.com/boykopovar/AnyPS5/pull/6941) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6971](https://www.github.com/boykopovar/AnyPS5/pull/6971) | `core/libs/prx/libSceAgcDriver/Graphics/include/MultisampleTarget.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp` | | [PR 6972](https://www.github.com/boykopovar/AnyPS5/pull/6972) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7008](https://www.github.com/boykopovar/AnyPS5/pull/7008) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7085](https://www.github.com/boykopovar/AnyPS5/pull/7085) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 7250](https://www.github.com/boykopovar/AnyPS5/pull/7250) | `core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7390](https://www.github.com/boykopovar/AnyPS5/pull/7390) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7432](https://www.github.com/boykopovar/AnyPS5/pull/7432) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7687](https://www.github.com/boykopovar/AnyPS5/pull/7687) | `docs/dev/debt/libSceAgcDriver.md` |
Amoenus commented 2026-10-16 19:34:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-16T19:34:39Z.


@Ondra97 Updated integration validation: #6973 uses your exact #6215 head dca54b2d7, preserving authorship, as the ownership prerequisite for initial native color uploads. It also contains actual #6965/#6522 and main af0fff762. This is a dependent initializer, with no competing retirement implementation.

The dependency adaptation dedc318d9 carries your lifetime handling across main's storage promotion: old unique sampled views remain with their retained owner and both image allocations are accounted for. The earlier adaptation below remains available too.

On composition a0e261006, your original retirement fixture passes three fresh processes each on Windows/NVIDIA RTX 5080, Windows/AMD Radeon Graphics and Linux/llvmpipe. Each reports created=32 destroyed=31 live=1 after 32 idle remaps. Sampling/storage and original two-device fill fixtures also pass three times per device. #6973 records the full 93-process selected matrix, exact drivers, omissions, builds and matched initializer control. Main's subsequent audio/time-zone refresh leaves the entire AGC/shader trees unchanged; the final head is 714ad0f04.

This verifies the adapted composition. It is not a retest of your unchanged submitted head, a new validation-layer run or a title replay. AI-assisted: Codex; author responsible.

Earlier composition and validation at its original pins

@Ondra97 I composed your exact head dca54b2d7 with main f474fb776 (which includes #5881's MSAA storage-image writes), resolving the native-target source conflict here: merge d8e94fe4a. The complete composition with exact #6601 is 0c4a26b6.

The resolution retains DCC initialization through the new allocator, keeps both storage-write barriers and owner retention, retains the old unique sampled textures alongside retired image allocations during storage migration, and includes both allocations in the recorder's retained-byte accounting. The sampled texture pointers stay valid while their shared owner survives.

The original sampling/storage execution fixture builds and passes once per verified RTX 5080 and Radeon Graphics on that composition. With my additional read-only sample getter/test, 2f5307248, the existing fixture and new readback fixture each pass three times per NVIDIA/AMD/llvmpipe device: 18 passes, maximum 0.52 s. Application/libraries and selected fixtures build on Windows GCC 15.2 r7 and Ubuntu 24.04 WSL GCC 13.3. The new Linux fixture excludes its unavailable 2x/8x RGBA16F subcases; 4x runs. No whole-test skips.

This covers the adapted composition and storage migration exercised by those fixtures. Your retirement fixture and unchanged submitted head were not retested. The fork composition is available for the rebase; no competing ownership PR opened. AI-assisted: Codex; author responsible.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6223211389 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6215#issuecomment-6223211389). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-16T19:34:39Z. --- @Ondra97 Updated integration validation: [#6973](https://github.com/boykopovar/AnyPS5/pull/6973) uses your exact #6215 head `dca54b2d7`, preserving authorship, as the ownership prerequisite for initial native color uploads. It also contains actual #6965/#6522 and main af0fff762. This is a dependent initializer, with no competing retirement implementation. The [dependency adaptation dedc318d9](https://github.com/Amoenus/AnyPS5/commit/dedc318d9ef10575e44c921329f23500e25c0a55) carries your lifetime handling across main's storage promotion: old unique sampled views remain with their retained owner and both image allocations are accounted for. The earlier adaptation below remains available too. On composition [a0e261006](https://github.com/Amoenus/AnyPS5/commit/a0e2610064bcb80cf9caad0c0a1ffae66382a541), your original retirement fixture passes three fresh processes each on Windows/NVIDIA RTX 5080, Windows/AMD Radeon Graphics and Linux/llvmpipe. Each reports `created=32 destroyed=31 live=1` after 32 idle remaps. Sampling/storage and original two-device fill fixtures also pass three times per device. #6973 records the full 93-process selected matrix, exact drivers, omissions, builds and matched initializer control. Main's subsequent audio/time-zone refresh leaves the entire AGC/shader trees unchanged; the final head is 714ad0f04. This verifies the adapted composition. It is not a retest of your unchanged submitted head, a new validation-layer run or a title replay. AI-assisted: Codex; author responsible. <details> <summary>Earlier composition and validation at its original pins</summary> @Ondra97 I composed your exact head dca54b2d7 with main f474fb776 (which includes #5881's MSAA storage-image writes), resolving the native-target source conflict here: [merge d8e94fe4a](https://github.com/Amoenus/AnyPS5/commit/d8e94fe4a9809bcd22d7820b492dba835cffd2ea). The complete composition with exact #6601 is [0c4a26b6](https://github.com/Amoenus/AnyPS5/commit/0c4a26b664b96032a45f1aab7a182eabccfbeb61). The resolution retains DCC initialization through the new allocator, keeps both storage-write barriers and owner retention, retains the old unique sampled textures alongside retired image allocations during storage migration, and includes both allocations in the recorder's retained-byte accounting. The sampled texture pointers stay valid while their shared owner survives. The original sampling/storage execution fixture builds and passes once per verified RTX 5080 and Radeon Graphics on that composition. With my additional read-only sample getter/test, [2f5307248](https://github.com/Amoenus/AnyPS5/commit/2f5307248df88820aa76223e5a3abe2342688c32), the existing fixture and new readback fixture each pass three times per NVIDIA/AMD/llvmpipe device: 18 passes, maximum 0.52 s. Application/libraries and selected fixtures build on Windows GCC 15.2 r7 and Ubuntu 24.04 WSL GCC 13.3. The new Linux fixture excludes its unavailable 2x/8x RGBA16F subcases; 4x runs. No whole-test skips. This covers the adapted composition and storage migration exercised by those fixtures. Your retirement fixture and unchanged submitted head were not retested. The fork composition is available for the rebase; no competing ownership PR opened. AI-assisted: Codex; author responsible. </details>
Ondra97 commented 2026-10-17 11:02:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-17T11:02:12Z.


@Amoenus Thanks for the adaptation and the integration validation. I rebased this PR onto main at 864729dc0d as 68ce4470d3 and incorporated the storage-promotion lifetime handling from dedc318d9, with your co-authorship retained. The retirement regression now checks old sampled-view lifetime, accounting for both allocations, and retention when an already-promoted target is used in a later batch.

I also integrated #6522 with its original authorship preserved and restricted ownership pins to the target's device. The original two-device fill fixture now checks that a target lookup does not charge the other device's recorder and that the target can retire without draining that recorder.

My validation of 68ce4470d3:

  • Windows (native host), RTX 4070 Ti SUPER, driver 617.42: full application/patched-library build passed; 47 selected tests, 25 critical repeat runs and 20 additional two-device fill runs passed, with no failures or skips.
  • Linux (VirtualBox): full application/patched-library build passed; six CPU tests and one static Mach-O output probe passed, with no failures or skips. Graphics: not exercised.

Linux graphics/Vulkan tests: NOT RUN — intentionally excluded from VirtualBox validation. Native/bare-metal Linux was not tested. Native Linux GPU validation: not tested. The environment details, commands and validation limits are in the updated PR description; no title-level validation is claimed.

#6973 remains a follow-up depending on this ownership work. The declared prerequisites here are #6175 and #6522; #5939 has merged and its carried commit is removed.

AI-assisted: yes. — Codex

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6233128504 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6215#issuecomment-6233128504). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-17T11:02:12Z. --- @Amoenus Thanks for the adaptation and the integration validation. I rebased this PR onto `main` at `864729dc0d` as `68ce4470d3` and incorporated the storage-promotion lifetime handling from [dedc318d9](https://github.com/Amoenus/AnyPS5/commit/dedc318d9ef10575e44c921329f23500e25c0a55), with your co-authorship retained. The retirement regression now checks old sampled-view lifetime, accounting for both allocations, and retention when an already-promoted target is used in a later batch. I also integrated #6522 with its original authorship preserved and restricted ownership pins to the target's device. The original two-device fill fixture now checks that a target lookup does not charge the other device's recorder and that the target can retire without draining that recorder. My validation of `68ce4470d3`: - **Windows (native host), RTX 4070 Ti SUPER, driver 617.42:** full application/patched-library build passed; 47 selected tests, 25 critical repeat runs and 20 additional two-device fill runs passed, with no failures or skips. - **Linux (VirtualBox):** full application/patched-library build passed; six CPU tests and one static Mach-O output probe passed, with no failures or skips. Graphics: not exercised. Linux graphics/Vulkan tests: NOT RUN — intentionally excluded from VirtualBox validation. Native/bare-metal Linux was not tested. Native Linux GPU validation: not tested. The environment details, commands and validation limits are in the updated PR description; no title-level validation is claimed. #6973 remains a follow-up depending on this ownership work. The declared prerequisites here are #6175 and #6522; #5939 has merged and its carried commit is removed. AI-assisted: yes. — Codex
adriadam10 commented 2026-10-18 22:19:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-18T22:19:05Z.

Review: CHANGES_REQUESTED


This conflicts with main in MultisampleTarget.hpp, MultisampleTarget.cpp and Draw.cpp, and the conflicts are not mechanical:

  • main now has MultisampleTargetTexture(context, resource, components, viewType) with a texture cache keyed on 5 values and holding std::shared_ptr<Texture>. This PR still keys on 4 values with std::unique_ptr<Texture> plus retiredTextures, and acquire() returns {shared_from_this(), texture.get()}. The ownership model has to be reconciled with the shared_ptr cache (the sampled view must still keep the owner alive without a cycle).
  • MultisampleTargetView(context, target, owner, image) and KeepMultisampleTarget_nid_no_patch need re-fitting against main's current declarations and the Draw.cpp call sites.
  • #6175 has merged; its carried commit (f67e82caa) should be dropped from the branch.

Please rebase onto current main, rerun agc_driver_multisample_retirement, multisample_fill_host_only, multisampled_pass_order and pass_input_hazard on the result, and push. #6522 is still open, so it stays carried until it lands.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5565312684 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6215#pullrequestreview-5565312684). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-18T22:19:05Z. **Review:** CHANGES_REQUESTED --- This conflicts with `main` in `MultisampleTarget.hpp`, `MultisampleTarget.cpp` and `Draw.cpp`, and the conflicts are not mechanical: - `main` now has `MultisampleTargetTexture(context, resource, components, viewType)` with a texture cache keyed on 5 values and holding `std::shared_ptr<Texture>`. This PR still keys on 4 values with `std::unique_ptr<Texture>` plus `retiredTextures`, and `acquire()` returns `{shared_from_this(), texture.get()}`. The ownership model has to be reconciled with the `shared_ptr` cache (the sampled view must still keep the owner alive without a cycle). - `MultisampleTargetView(context, target, owner, image)` and `KeepMultisampleTarget_nid_no_patch` need re-fitting against main's current declarations and the `Draw.cpp` call sites. - #6175 has merged; its carried commit (`f67e82caa`) should be dropped from the branch. Please rebase onto current `main`, rerun `agc_driver_multisample_retirement`, `multisample_fill_host_only`, `multisampled_pass_order` and `pass_input_hazard` on the result, and push. #6522 is still open, so it stays carried until it lands.
Ondra97 commented 2026-10-18 23:12:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-18T23:12:37Z.


@adriadam10 In reply to your review: I rebased #6215 onto main 9121a9e4554e55105d6afddcf39073bb9c5fc259 as 65f6549e0f6ab442aff09a15dd3adf21c802b11a.

  • I dropped the commit from merged #6175. #6522 is still carried with Mehran's authorship and remains the declared prerequisite.
  • The sampled texture cache keeps main's five-part key, including viewType, and its shared_ptr<Texture> values. Returned views alias the target owner without a reference cycle. Old sampled views and both image allocations stay alive through storage promotion and later recorded use.
  • MultisampleTargetView supplies both owner and image to Draw.cpp, which retains the owner and records the image hazard.

On Windows (native host), the full application and patched-library build passed. The four requested tests (agc_driver_multisample_retirement, agc_driver_multisample_fill_host_only, agc_driver_multisampled_pass_order, agc_driver_pass_input_hazard) each passed once and five additional times. agc_driver_sample_multisample_target followed the same pattern, and agc_driver_graphics passed once. There were no failures or skips. Vulkan was required, and each GPU test selected the NVIDIA GeForce RTX 4070 Ti SUPER (driver 617.42).

I intentionally skipped Linux (VirtualBox) for this rebase. Could a collaborator run the full Linux Build workflow for #6215 at this exact head and report its Linux build and test results? A run of the four requested tests on a native Linux Vulkan GPU would also be useful; please include the distribution, compiler, GPU, driver, and exact head SHA. Native Linux and Linux GPU results are still pending.

AI-assisted: yes. — Codex

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6256357535 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6215#issuecomment-6256357535). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-18T23:12:37Z. --- @adriadam10 In reply to [your review](https://github.com/boykopovar/AnyPS5/pull/6215#pullrequestreview-5565312684): I rebased #6215 onto main `9121a9e4554e55105d6afddcf39073bb9c5fc259` as `65f6549e0f6ab442aff09a15dd3adf21c802b11a`. - I dropped the commit from merged #6175. #6522 is still carried with Mehran's authorship and remains the declared prerequisite. - The sampled texture cache keeps main's five-part key, including `viewType`, and its `shared_ptr<Texture>` values. Returned views alias the target owner without a reference cycle. Old sampled views and both image allocations stay alive through storage promotion and later recorded use. - `MultisampleTargetView` supplies both owner and image to `Draw.cpp`, which retains the owner and records the image hazard. On Windows (native host), the full application and patched-library build passed. The four requested tests (`agc_driver_multisample_retirement`, `agc_driver_multisample_fill_host_only`, `agc_driver_multisampled_pass_order`, `agc_driver_pass_input_hazard`) each passed once and five additional times. `agc_driver_sample_multisample_target` followed the same pattern, and `agc_driver_graphics` passed once. There were no failures or skips. Vulkan was required, and each GPU test selected the NVIDIA GeForce RTX 4070 Ti SUPER (driver 617.42). I intentionally skipped Linux (VirtualBox) for this rebase. Could a collaborator run the full Linux Build workflow for #6215 at this exact head and report its Linux build and test results? A run of the four requested tests on a native Linux Vulkan GPU would also be useful; please include the distribution, compiler, GPU, driver, and exact head SHA. Native Linux and Linux GPU results are still pending. AI-assisted: yes. — Codex
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!6215
No description provided.