fix(agc): publish native depth before cached buffer recording #10492

Open
Ondra97 wants to merge 8 commits from upstream-pr/10492 into main
Ondra97 commented 2026-10-24 03:23:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-24T03:23:35Z.


What

A writable buffer can become backed by a newly created native depth owner after its resource set was cached. If publication first occurs in Bind, it may synchronize and end a command buffer the cached dispatch already acquired. Run requireGuestBuffers() in Revalidate after registered-image identity validation and before every resource proof, including the epoch shortcut, so publication/refusal completes before cached recording.

The November 11 integration used main bc94a8e423ea026aadbb29165fed1ad2db471154. The carried #9950 publisher retains Ethan Barr's authorship and matches #10469's refreshed production implementation, including main's snapshot/readback helpers, overwritten-plane proofs and colour-alias retirement. #10469 and #10492 remain independent after #9950. The three cached-publication fixture functions remain byte-identical to the previous submission, retaining import-watch skips and explicit driver shutdown. All new main test registrations are preserved alongside this PR's three modes.

The confirmed order remains #9950, then #10469/#10492, then #10497, then #7002. The #7002 author confirmation retains the early transition before epoch proof and the deferred feedback scan before either colour/depth publication pass. #7002 remains draft; its combined colour stack is not qualified here.

The November 19 main sync carries the shared D32 publication update from #10469. Main's reuse policy remains in place. The cached resource guard still runs before the epoch proof, and repeated staging uploads retain the transfer-write dependency.

Tested

The November 19 Windows Release retest used main b68affac18ca39391a3800d5cb51735d085c014d and PR head 804659939aebb28904cbc3e64146b33c4d6b364e. Both full runtime builds passed with WinLibs GCC 15.2.0. The same 31 focused Vulkan CTests passed on both revisions. All three PR-specific publication CTests passed, including cached draw recording and its buffer store. The RTX 4070 Ti SUPER on driver 621.24 and Khronos validation 1.4.335 were confirmed in every log. The runs logged no VUID or synchronization hazards. Two internal HTILE write-coverage assertions skipped on each revision.

The separate #10469 plus #10492 merge preview conflicts in NativeMultisampleDepth.cpp. The November 19 runs cover each PR's main-based revision independently. Earlier reports below apply to the revisions they list.

November 11, 2026 (Europe/Prague): submitted head ec6f18ac80329de04ed7e50a56c1bc76b87ceac8, based on main bc94a8e423ea026aadbb29165fed1ad2db471154.

Windows 11 Pro 10.0.26300; AMD Ryzen 9 7900X; 31.66 GiB RAM; NVIDIA GeForce RTX 4070 Ti SUPER, driver 621.01. WinLibs GCC 15.2.0 r7 UCRT, CMake 4.1.2, Ninja 1.13.2, Python 3.14.7. Release full-runtime configuration with BUILD_TESTING=ON and ANYPS5_ENABLE_SPIRV_TOOLS=ON. Production relinker, all libraries and the four focused fixture targets build successfully.

Source Passed Skipped Failed
Main comparison 29 1 0
Submitted head 32 1 0

The main comparison ran at 60ec4a7bcd05d6700c987adaabad19c2acd2142e; the only subsequent base change is in the unrelated GuestNpCommonRuntime.cpp fixture. Repository blobs for production code, dependencies, build scripts and the focused tests are identical between that baseline and the submitted base, so that baseline is reused. The submitted head was rebuilt and the entire selection rerun after the final rebase.

Both arms require Vulkan, disable normal shader caches, enable APS5_VERIFY_SHAPE_MEMO=1 and use the same explicit Khronos validation 1.4.335 path and layer logging. The logs confirm the selected RTX 4070 Ti SUPER and matching inserted Khronos/OBS/Overwolf/NVIDIA layers. Neither log contains a missing requested layer, VUID, validation error or synchronization hazard. The single skip in each arm is agc_driver_native_depth_driver_queued_fill.

All three added modes execute and pass: cached writable-buffer publication, the dispatch-items variant and cached draw publication with APS5_DRAW_PIPELINE=1. The full selection also covers current D32S8 publication, overwritten-plane, single-sample-view and pending-unit cases. A source-order check confirms registered-image identity validation precedes publication, which precedes both epoch/full proofs. Conventions (one debt-length warning, zero errors), whitespace and strict main-sync checks pass.

The 2,007-head depth overlap snapshot used for #10469 exited 2 because conflicting branches prevented complete comparisons. Its shared depth/debt diffs were manually inspected and reused for the byte-identical publisher. The added Revalidate transition was checked against current main and #7002's confirmed order; no clean full overlap result or combined colour/fault-slot stack is claimed. Existing contributor reports retain their original revision/platform scope. No full CTest or new title/console run is claimed.

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build --target relinker libs agc_driver_native_multisample_depth_tests agc_driver_sample_multisample_target_tests agc_driver_graphics_tests agc_driver_native_depth_bda_clear_tests --parallel 16
$env:ANYPS5_REQUIRE_VULKAN='1'
$env:ANYPS5_NO_SHADER_CACHE='1'
$env:ANYPS5_GPU='NVIDIA GeForce RTX 4070 Ti SUPER'
$env:VK_INSTANCE_LAYERS='VK_LAYER_KHRONOS_validation'
$env:VK_LAYER_PATH='D:/Github/AnyPS5/build_tools/c012-refresh/vulkan-sdk/Bin'
$env:VK_LOADER_DEBUG='layer'
$env:VK_LOADER_LAYERS_DISABLE='*implicit*'
$env:APS5_VERIFY_SHAPE_MEMO='1'
ctest --test-dir build -R '^(agc_driver_(native_multisample_depth|native_depth_.*|sample_multisample_target|graphics))$' -j 1 -V --no-tests=error
python tools/check_conventions.py --base origin/main
python tools/check_main_sync.py --base origin/main --strict
git diff --check origin/main...HEAD

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #9950
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4070 Ti SUPER, drivers 621.01 and 621.24, Windows 11 Pro 10.0.26300; November 11 and 19 paired runs
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4992104271 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10492). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-24T03:23:35Z. --- ### What A writable buffer can become backed by a newly created native depth owner after its resource set was cached. If publication first occurs in `Bind`, it may synchronize and end a command buffer the cached dispatch already acquired. Run `requireGuestBuffers()` in `Revalidate` after registered-image identity validation and before every resource proof, including the epoch shortcut, so publication/refusal completes before cached recording. The November 11 integration used main `bc94a8e423ea026aadbb29165fed1ad2db471154`. The carried #9950 publisher retains Ethan Barr's authorship and matches #10469's refreshed production implementation, including main's snapshot/readback helpers, overwritten-plane proofs and colour-alias retirement. #10469 and #10492 remain independent after #9950. The three cached-publication fixture functions remain byte-identical to the previous submission, retaining import-watch skips and explicit driver shutdown. All new main test registrations are preserved alongside this PR's three modes. The confirmed order remains #9950, then #10469/#10492, then #10497, then #7002. The [#7002 author confirmation](https://github.com/boykopovar/AnyPS5/pull/10497#issuecomment-6559808099) retains the early transition before epoch proof and the deferred feedback scan before either colour/depth publication pass. #7002 remains draft; its combined colour stack is not qualified here. The November 19 main sync carries the shared D32 publication update from #10469. Main's reuse policy remains in place. The cached resource guard still runs before the epoch proof, and repeated staging uploads retain the transfer-write dependency. ### 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. --> The November 19 Windows Release retest used main `b68affac18ca39391a3800d5cb51735d085c014d` and PR head `804659939aebb28904cbc3e64146b33c4d6b364e`. Both full runtime builds passed with WinLibs GCC 15.2.0. The same 31 focused Vulkan CTests passed on both revisions. All three PR-specific publication CTests passed, including cached draw recording and its buffer store. The RTX 4070 Ti SUPER on driver 621.24 and Khronos validation 1.4.335 were confirmed in every log. The runs logged no VUID or synchronization hazards. Two internal HTILE write-coverage assertions skipped on each revision. The separate #10469 plus #10492 merge preview conflicts in `NativeMultisampleDepth.cpp`. The November 19 runs cover each PR's main-based revision independently. Earlier reports below apply to the revisions they list. November 11, 2026 (Europe/Prague): submitted head `ec6f18ac80329de04ed7e50a56c1bc76b87ceac8`, based on main `bc94a8e423ea026aadbb29165fed1ad2db471154`. Windows 11 Pro 10.0.26300; AMD Ryzen 9 7900X; 31.66 GiB RAM; NVIDIA GeForce RTX 4070 Ti SUPER, driver 621.01. WinLibs GCC 15.2.0 r7 UCRT, CMake 4.1.2, Ninja 1.13.2, Python 3.14.7. Release full-runtime configuration with `BUILD_TESTING=ON` and `ANYPS5_ENABLE_SPIRV_TOOLS=ON`. Production relinker, all libraries and the four focused fixture targets build successfully. | Source | Passed | Skipped | Failed | | --- | ---: | ---: | ---: | | Main comparison | 29 | 1 | 0 | | Submitted head | 32 | 1 | 0 | The main comparison ran at `60ec4a7bcd05d6700c987adaabad19c2acd2142e`; the only subsequent base change is in the unrelated `GuestNpCommonRuntime.cpp` fixture. Repository blobs for production code, dependencies, build scripts and the focused tests are identical between that baseline and the submitted base, so that baseline is reused. The submitted head was rebuilt and the entire selection rerun after the final rebase. Both arms require Vulkan, disable normal shader caches, enable `APS5_VERIFY_SHAPE_MEMO=1` and use the same explicit Khronos validation 1.4.335 path and layer logging. The logs confirm the selected RTX 4070 Ti SUPER and matching inserted Khronos/OBS/Overwolf/NVIDIA layers. Neither log contains a missing requested layer, VUID, validation error or synchronization hazard. The single skip in each arm is `agc_driver_native_depth_driver_queued_fill`. All three added modes execute and pass: cached writable-buffer publication, the dispatch-items variant and cached draw publication with `APS5_DRAW_PIPELINE=1`. The full selection also covers current D32S8 publication, overwritten-plane, single-sample-view and pending-unit cases. A source-order check confirms registered-image identity validation precedes publication, which precedes both epoch/full proofs. Conventions (one debt-length warning, zero errors), whitespace and strict main-sync checks pass. The 2,007-head depth overlap snapshot used for #10469 exited 2 because conflicting branches prevented complete comparisons. Its shared depth/debt diffs were manually inspected and reused for the byte-identical publisher. The added `Revalidate` transition was checked against current main and #7002's confirmed order; no clean full overlap result or combined colour/fault-slot stack is claimed. Existing contributor reports retain their original revision/platform scope. No full CTest or new title/console run is claimed. ```powershell cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON cmake --build build --target relinker libs agc_driver_native_multisample_depth_tests agc_driver_sample_multisample_target_tests agc_driver_graphics_tests agc_driver_native_depth_bda_clear_tests --parallel 16 $env:ANYPS5_REQUIRE_VULKAN='1' $env:ANYPS5_NO_SHADER_CACHE='1' $env:ANYPS5_GPU='NVIDIA GeForce RTX 4070 Ti SUPER' $env:VK_INSTANCE_LAYERS='VK_LAYER_KHRONOS_validation' $env:VK_LAYER_PATH='D:/Github/AnyPS5/build_tools/c012-refresh/vulkan-sdk/Bin' $env:VK_LOADER_DEBUG='layer' $env:VK_LOADER_LAYERS_DISABLE='*implicit*' $env:APS5_VERIFY_SHAPE_MEMO='1' ctest --test-dir build -R '^(agc_driver_(native_multisample_depth|native_depth_.*|sample_multisample_target|graphics))$' -j 1 -V --no-tests=error python tools/check_conventions.py --base origin/main python tools/check_main_sync.py --base origin/main --strict git diff --check origin/main...HEAD ``` ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> #9950 - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> NVIDIA GeForce RTX 4070 Ti SUPER, drivers 621.01 and 621.24, Windows 11 Pro 10.0.26300; November 11 and 19 paired runs - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-10-24 12:13:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T12:13:49Z.

Review: COMMENTED


I reviewed the cached-depth publication guard and the new GPU regression. The call at ShaderResources::Revalidate entry is important because it runs before both the epoch shortcut and the full proof; the PrepareDrawBindings check also handles moved buffer addresses. The PR reports useful negative controls and validation-layer runs, though the hosted GPU/product jobs are skipped and I could not reproduce the RTX 4070 Ti SUPER run locally.

One integration point should be agreed before these changes are composed: open #7002 changes the same ShaderResources call sites from requireGuestBuffers() to synchronizeGuestBuffers() and adds read-only buffer synchronization at Revalidate. Please coordinate the exact combined behavior and merge order with #7002’s author, so the early native-MSAA guard remains before the epoch proof while the read-only color synchronization is retained only where appropriate. The current body already calls this coordination out; the dependency checklist currently lists only #6498 and #9950.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5638200124 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10492#pullrequestreview-5638200124). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T12:13:49Z. **Review:** COMMENTED --- I reviewed the cached-depth publication guard and the new GPU regression. The call at `ShaderResources::Revalidate` entry is important because it runs before both the epoch shortcut and the full proof; the `PrepareDrawBindings` check also handles moved buffer addresses. The PR reports useful negative controls and validation-layer runs, though the hosted GPU/product jobs are skipped and I could not reproduce the RTX 4070 Ti SUPER run locally. One integration point should be agreed before these changes are composed: open #7002 changes the same `ShaderResources` call sites from `requireGuestBuffers()` to `synchronizeGuestBuffers()` and adds read-only buffer synchronization at `Revalidate`. Please coordinate the exact combined behavior and merge order with #7002’s author, so the early native-MSAA guard remains before the epoch proof while the read-only color synchronization is retained only where appropriate. The current body already calls this coordination out; the dependency checklist currently lists only #6498 and #9950.
jotitadev commented 2026-10-31 00:06:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-31T00:06:18Z.

Review: COMMENTED


Linux run of head d6589d3607. The three new tests behave differently from the RTX 4070 Ti / Windows run. There is a cause and a two-line test fix for the NVIDIA part.

Setup: Ubuntu 26.04, GCC 15.2, Release. RTX 3070 (NVIDIA 595.99.02) and lavapipe (Mesa 26.0.3), one at a time via VK_DRIVER_FILES. ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1, ctest -j1. The head merged --no-ff onto current main de96e3efbd with no conflicts. The selection is the 7 tests of agc_driver_native_multisample_depth_tests.

RTX 3070 lavapipe
Khronos layer 1.4.341, 3 runs 5/7. native_depth_buffer_publication and _buffer_publication_items abort (SIGABRT) after their checks pass, 3 of 3 4/7. The two above abort, and cached_draw_publication fails
layer 1.3.275 (the NVIDIA CI's) 7/7 4/7
no layer 7/7, 2 of 2 4/7, 2 of 2

RTX 3070 abort: the device is destroyed at static destruction. The backtrace is exit → Driver::~Driver → Driver::stop → DevicePointer::Reset → VulkanDevice::State::~State → abort inside libVkLayer_khronos_validation.so. The --buffer-publication mode runs on the driver singleton's own device, and nothing takes that device back before main returns. Its last reference therefore dies in Driver::~Driver during static destruction, and the 1.4.341 layer aborts in that late device teardown. I couldn't symbolize the layer frame, so the exact check inside the layer is not confirmed. Moving the teardown before main returns makes the abort go away (below).

#13021's stack hit the same pattern in CheckDriverPath and fixed it in 53886418d9 by stopping the driver before the test returns. The same change fixes it here:

 struct DriverTestAccess {
     static std::shared_ptr<VulkanDevice> GetDevice() { return Driver::Get().device.Load(); }
+    static void Stop() { Driver::Get().stop(); }
 };
@@
-        if (argc == 2 && std::string_view(argv[1]) == "--buffer-publication") { CheckRetiredNativeWriteRefusal(); CheckRetiredNativeWriteRefusal(true); CheckPairedBufferOverwrite(); return 0; }
+        if (argc == 2 && std::string_view(argv[1]) == "--buffer-publication") { CheckRetiredNativeWriteRefusal(); CheckRetiredNativeWriteRefusal(true); CheckPairedBufferOverwrite(); AgcDriver::DriverDetail::DriverTestAccess::Stop(); return 0; }

With that (I also added it to --cached-draw-publication, which doesn't abort today), the three tests pass:

  • 3 of 3 runs with 1.4.341 on the RTX 3070, 0 VUID- lines;
  • 1 of 1 with no layer;
  • 1 of 1 with 1.3.275, which reports only its usual VkDeviceCreateInfo-pNext-pNext.

lavapipe: the new modes need write-watched imports. All three fail with every layer setting, and with no layer:

AGC graphics: native multisample depth import requires watched accessible guest memory

lavapipe's probe reports host imports resolve write protection: yes ... imported ranges are compared, so an imported range doesn't stay watched. The NVIDIA cards report "imported ranges stay watched". The fixture's HTILE cases already handle such a device with PrepareImportWatch(...) == ImportWatch::Unwatch and a skip, but these three modes have no such check. On a device with compared imports, they need the same handling or a skip (77). I described the same result on #10497, which carries these tests.

GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02, Linux); lavapipe (Mesa 26.0.3, Linux).

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5719984257 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10492#pullrequestreview-5719984257). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-31T00:06:18Z. **Review:** COMMENTED --- Linux run of head `d6589d3607`. The three new tests behave differently from the RTX 4070 Ti / Windows run. There is a cause and a two-line test fix for the NVIDIA part. Setup: Ubuntu 26.04, GCC 15.2, Release. RTX 3070 (NVIDIA 595.99.02) and lavapipe (Mesa 26.0.3), one at a time via `VK_DRIVER_FILES`. `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`, `ctest -j1`. The head merged `--no-ff` onto current `main` `de96e3efbd` with no conflicts. The selection is the 7 tests of `agc_driver_native_multisample_depth_tests`. | | RTX 3070 | lavapipe | |---|---|---| | Khronos layer 1.4.341, 3 runs | 5/7. `native_depth_buffer_publication` and `_buffer_publication_items` abort (SIGABRT) after their checks pass, 3 of 3 | 4/7. The two above abort, and `cached_draw_publication` fails | | layer 1.3.275 (the NVIDIA CI's) | 7/7 | 4/7 | | no layer | 7/7, 2 of 2 | 4/7, 2 of 2 | **RTX 3070 abort: the device is destroyed at static destruction.** The backtrace is `exit` → `Driver::~Driver` → `Driver::stop` → `DevicePointer::Reset` → `VulkanDevice::State::~State` → `abort` inside `libVkLayer_khronos_validation.so`. The `--buffer-publication` mode runs on the driver singleton's own device, and nothing takes that device back before `main` returns. Its last reference therefore dies in `Driver::~Driver` during static destruction, and the 1.4.341 layer aborts in that late device teardown. I couldn't symbolize the layer frame, so the exact check inside the layer is not confirmed. Moving the teardown before `main` returns makes the abort go away (below). #13021's stack hit the same pattern in `CheckDriverPath` and fixed it in 53886418d9 by stopping the driver before the test returns. The same change fixes it here: ```diff struct DriverTestAccess { static std::shared_ptr<VulkanDevice> GetDevice() { return Driver::Get().device.Load(); } + static void Stop() { Driver::Get().stop(); } }; @@ - if (argc == 2 && std::string_view(argv[1]) == "--buffer-publication") { CheckRetiredNativeWriteRefusal(); CheckRetiredNativeWriteRefusal(true); CheckPairedBufferOverwrite(); return 0; } + if (argc == 2 && std::string_view(argv[1]) == "--buffer-publication") { CheckRetiredNativeWriteRefusal(); CheckRetiredNativeWriteRefusal(true); CheckPairedBufferOverwrite(); AgcDriver::DriverDetail::DriverTestAccess::Stop(); return 0; } ``` With that (I also added it to `--cached-draw-publication`, which doesn't abort today), the three tests pass: - 3 of 3 runs with 1.4.341 on the RTX 3070, 0 `VUID-` lines; - 1 of 1 with no layer; - 1 of 1 with 1.3.275, which reports only its usual `VkDeviceCreateInfo-pNext-pNext`. **lavapipe: the new modes need write-watched imports.** All three fail with every layer setting, and with no layer: ``` AGC graphics: native multisample depth import requires watched accessible guest memory ``` lavapipe's probe reports `host imports resolve write protection: yes ... imported ranges are compared`, so an imported range doesn't stay watched. The NVIDIA cards report "imported ranges stay watched". The fixture's HTILE cases already handle such a device with `PrepareImportWatch(...) == ImportWatch::Unwatch` and a skip, but these three modes have no such check. On a device with compared imports, they need the same handling or a skip (77). I described the same result on #10497, which carries these tests. GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02, Linux); lavapipe (Mesa 26.0.3, Linux). Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
MarcZX10 commented 2026-11-20 09:30:13 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

Reviewed head 804659939aebb28904cbc3e64146b33c4d6b364e using repo_read.py. No commands or tests were run by me; the Windows build and CTest results below are author-reported.

Results

Check Result Note
Changed-line review passed No verified defect found
Windows build and focused CTests not run Reported passing by author
Full CTest and console run not run Not claimed by author

Findings

Blocking

None.

Non-blocking

  • The author reports two internal HTILE write-coverage assertions skipped in each November 19 run. Consider recording which cases they cover when those assertions can run.

Not verified

  • Did not run tests or independently verify author-reported build and CTest results.
  • Did not read all unchanged portions of the full test source. Targeted changed hunks and surrounding functions were read.
  • Did not verify behavior on a physical console or the combined #10469 + #10492 merge preview; the description reports a conflict in NativeMultisampleDepth.cpp.
  • Read: DepthSurface.cpp, GuestBufferMemory.cpp, ShaderResources.cpp, agc_driver_native_multisample_depth_tests.cmake, targeted changed hunks and contexts in NativeMultisampleDepth.cpp, and both changed debt documents. The two large source files were excluded from files/ by size and read through the pinned reader. No other changed files were excluded.

To get this to a good state

Nothing is required. Optional: provide coverage for the two skipped HTILE write-coverage assertions.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5990431280 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10492#pullrequestreview-5990431280). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T09:30:13Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran Reviewed head `804659939aebb28904cbc3e64146b33c4d6b364e` using `repo_read.py`. No commands or tests were run by me; the Windows build and CTest results below are author-reported. ## Results | Check | Result | Note | | --- | --- | --- | | Changed-line review | passed | No verified defect found | | Windows build and focused CTests | not run | Reported passing by author | | Full CTest and console run | not run | Not claimed by author | ## Findings ### Blocking None. ### Non-blocking - The author reports two internal HTILE write-coverage assertions skipped in each November 19 run. Consider recording which cases they cover when those assertions can run. ## Not verified - Did not run tests or independently verify author-reported build and CTest results. - Did not read all unchanged portions of the full test source. Targeted changed hunks and surrounding functions were read. - Did not verify behavior on a physical console or the combined #10469 + #10492 merge preview; the description reports a conflict in `NativeMultisampleDepth.cpp`. - Read: `DepthSurface.cpp`, `GuestBufferMemory.cpp`, `ShaderResources.cpp`, `agc_driver_native_multisample_depth_tests.cmake`, targeted changed hunks and contexts in `NativeMultisampleDepth.cpp`, and both changed debt documents. The two large source files were excluded from `files/` by size and read through the pinned reader. No other changed files were excluded. ## To get this to a good state Nothing is required. Optional: provide coverage for the two skipped HTILE write-coverage assertions.
MarcZX10 commented 2026-11-25 11:57:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T11:57:53Z.

Review: COMMENTED


Reviewed — no blocking findings

No blocking defect was verified in the inspected changes; checks for the exact head were not run.

What I ran

Reviewed head b320672fb37241f90b7d54865627b8c388d3587b using the prepared diff and repo_read.py for targeted source context. No build or tests were run. The description reports Windows Vulkan runs on a different PR head (804659939aebb28904cbc3e64146b33c4d6b364e).

Results

Check Result Note
Patch review passed Changed lines inspected across seven files
Exact-head build and tests not run Reported runs target a different head

Findings

Blocking

None verified in the inspected changes.

Non-blocking

None.

Not verified

The full contents of the large changed source and test files were not read; their changed lines and relevant code paths were inspected. Exact-head build, CTests, validation-layer output, and console behavior were not verified. The description reports skipped HTILE coverage assertions and a conflicting combined merge preview.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6057171328 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10492#pullrequestreview-6057171328). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T11:57:53Z. **Review:** COMMENTED --- # Reviewed — no blocking findings No blocking defect was verified in the inspected changes; checks for the exact head were not run. ## What I ran Reviewed head `b320672fb37241f90b7d54865627b8c388d3587b` using the prepared diff and `repo_read.py` for targeted source context. No build or tests were run. The description reports Windows Vulkan runs on a different PR head (`804659939aebb28904cbc3e64146b33c4d6b364e`). ## Results | Check | Result | Note | | --- | --- | --- | | Patch review | passed | Changed lines inspected across seven files | | Exact-head build and tests | not run | Reported runs target a different head | ## Findings ### Blocking None verified in the inspected changes. ### Non-blocking None. ## Not verified The full contents of the large changed source and test files were not read; their changed lines and relevant code paths were inspected. Exact-head build, CTests, validation-layer output, and console behavior were not verified. The description reports skipped HTILE coverage assertions and a conflicting combined merge preview. ## To get this to a good state Nothing is required.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.

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

git switch 'main'
git merge --no-ff 'upstream-pr/10492'
git switch 'upstream-pr/10492'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/10492'
git switch 'upstream-pr/10492'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/10492'
git switch 'main'
git merge --squash 'upstream-pr/10492'
git switch 'main'
git merge --ff-only 'upstream-pr/10492'
git switch 'main'
git merge 'upstream-pr/10492'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!10492
No description provided.