fix(agc): bind the sample order depth set after its pipeline #9503

Merged
JJenkx merged 2 commits from upstream-pr/9503 into main 2026-11-15 02:21:59 +00:00
JJenkx commented 2026-10-21 23:36:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T23:36:36Z.


What

SampleOrders::Depth bound its sampled-image descriptor set once, after vkCmdBeginRenderPass and before any pipeline. Each draw then bound its own pipeline. On AMD's Windows driver, the first draw's pixel shader read its image descriptor from address 0x200000000, and the device was lost. agc_driver_sample_order_grid_reference fails on that driver with:

[device-fault] result 0: GPU fault
[device-fault] read invalid at 0x200000000 (precision 0x1000)
AGC graphics: vkQueueSubmit recorder: Vulkan result -4

Radeon GPU Detective 1.6.3.7 places the page fault in the sample order pixel shader:

  • The in-progress marker is the depth reorder draw (Draw(VertexCount=3)).
  • The faulting instruction is the first image descriptor load, s_load_dwordx8 s[12:19], s[0:1]. Its address is built as s0 = s7, s1 = 0x2, so the shader received a descriptor set address of 0.

How I narrowed it down, on that device, with local switches that are not in this PR:

  • Skipping the colour storage reorder: still faults.
  • Skipping the depth reorder: no fault.
  • Within the depth reorder, skipping the image copy: still faults. Skipping the draw: no fault.
  • Writing binding 1 as well: still faults.
  • Dropping the render pass sample locations, or every sample location state of the pass: still faults.
  • Binding the set after the pipeline: no fault.

The set is now bound right after each pipeline, inside draw. The Vulkan rules allow the old order, since the layout is the same object. Binding after the pipeline is equivalent and avoids this driver's behaviour.

Tested

Windows 11 Enterprise 10.0.22621, AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1 (Adrenalin 25.10.45.16), WinLibs GCC 15.2 UCRT, Release. Base main a6dcea927; #8310's test change is applied locally so that MinGW builds it. Each test was run 10 times one after another:

test main this PR this PR + #9056
agc_driver_sample_order_grid_reference 0/10 (device lost, above) 0/10, now at the depth check: the composite of uniform renders: sample 0 of pixel (0, 0) holds depth 1.08e33 10/10
agc_driver_sample_order 0/10 0/10 (depth readback, #9056's subject) 10/10
agc_driver_sample_order_recipe_depth_locations 0/10 0/10 (same) 10/10

With this PR and #9056, the full suite passes 1872 of 1875. The 3 that fail:

  • patched_libraries fails the same way on main here: LoadLibraryEx error 127.
  • agc_driver_image_array_window_past_layer_limit fails on main here as well.
  • agc_driver_tessellation is fixed by #8884 on this device, 10/10 (see my comment there).

tools/check_conventions.py passes.

The RGD text summary and the full ctest log are kept locally. I can attach them on request.

Additional independent evidence (2026-10-24)

brummilab reports three runs per variant on main 60465afd3ac4, AMD Radeon RX 6600 XT (Navi 23), driver 32.0.21045.16010, Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release. This PR uses head ba1a4d0cd; #9056 uses 53949c077.

Variant sample order grid reference recipe depth locations planning
main fails GPU fault/device lost fails passes
#9056 only passes fails passes passes
this PR only fails fails fails passes
#9056 + this PR passes passes passes passes

The reporter obtained the same result in all three runs. These are attributed independent observations, not locally reproduced; validation layers were not enabled. They add a second device/driver observation and do not replace the earlier validation-layer comparison or establish title performance. The author of the original descriptor bind confirms that binding after each pipeline is the intended equivalent ordering.

The agreed ordering with #9508 is recorded on the dependency checklist below. A fresh focused validation comparison against the then-current main remains outstanding; these peer tests use their stated pinned base, and Windows is currently user-paused.

Fresh Linux current-main comparison (2026-10-24)

Head 24f5d3aaab5274bb9510c7b0721508b5569ec8f0 merges main b930da950d5d076c19d8e6a025805f3799cadbc5 into the original branch. The only main/change production difference is the descriptor-bind reorder. Both full focused targets rebuilt on the same Ryzen 9 7950X / Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.4, Linux 7.2.9, GCC 16.2.1 Release.

agc_driver_sample_order, _grid_reference, _recipe_depth_locations, and _planning pass 4/4 on main and 4/4 on the change, without skips. Each ran separately with ctest -V, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 MESA_SHADER_CACHE_DISABLE=true VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, explicit layer path/RADV ICD and loader diagnostics. All six physical test logs confirm actual Khronos insertion. Planning is a mock test and does not supply physical validation coverage.

This is not validation-clean: both arms log VUID-VkWriteDescriptorSet-descriptorType-00337 (sampled image view lacks sampled usage). The VUID identifier appears 6 / 14 / 12 times respectively in the sample-order / grid-reference / recipe-depth logs on each build; planning has zero. These are log occurrences, not a count of distinct error messages. No new VUID type or increased occurrence count, missing-layer warning, device loss or timeout appears. No #9056/#9057 changes are folded in. This is Linux unit evidence; it does not reproduce the AMD Windows device loss, replace the older Windows reports or claim title/FPS improvement. Windows remains user-paused.

Fresh build/test logs, JUnit, exact patch and comparison runner, SHA256 8bbc77d4a48811cd5dcb042aad1b9fc53af89a63a74d21a1b7768c0074734337.

Current Linux qualification — 2026-10-29

Refreshed head 1b8af30a2bac5fa1f3b6800599b46726adb2fc21 integrates pinned main 5454cd2e455994d992aca39335ce60507eeda1eb.

The descriptor bind remains after pipeline binding inside the draw callback. The existing agreement is #9503 first, then #9508’s author refreshes its descriptor-heap integration. A fresh manual hunk review confirms #9508 must move its heap-aware bind accordingly. The automated overlap fetch failed with unresolved deltas; this is recorded rather than reported as a clean automated overlap audit. No fresh negative control or affected-AMD-GPU reproduction is claimed.

Fresh matched Linux Release builds on AMD Radeon RX6650XT / RADV, with SPIRV-Tools enabled: main 12 passes and change 12 passes (three repetitions of each focused group), zero skips and zero VUIDs. Actual Khronos validation-layer instance insertions are 9 on main and 9 on the change. CPU-only groups are not counted as GPU coverage. Conventions, whitespace and submodule-pointer checks pass. Later-main merge previews were clean; those preview trees were not executed. Every GPU harness used the shared reservation and launch queue.

Evidence: raw logs, JUnit and source receipts; SHA-256 6a2fabb6619b69017f29fc3ce403661c6fb4fbd899869c6a82a6ed62920ab48d. Queue and cleanup receipts. Current overlap audit, including fetch failure. No new Windows, macOS, native-title or performance qualification is claimed. Earlier measurements retain their original source pins.

AI-assisted: yes (Codex).

Current qualification — 2026-10-30

Integrated the one-line topic onto main 08a10d225306ad102b57408e2ef7566bcfb829b2 at ddffce84287cbf752b7e70e478a6be78029f9215. This includes the newer PipelineCache.cpp and ShaderResources.cpp paths identified by the review. The bind remains inside the draw callback immediately after pipeline binding; its topic range-diff is identical and current-main gitlinks are retained. Historical39fc186 results remain historical.

Fresh matched Release builds with SPIRV-Tools enabled on AMD Radeon RX 6650 XT / RADV Mesa 26.2.4, Khronos validation layer 1.4.363: all four focused groups pass three times on both main and the change (12 per arm), no skips, VUIDs or compatibility warnings; nine actual layer insertions per arm. The grid-reference test executes three times per arm: both report zero color/depth differences. Its approximate control differs in 1544 samples. This validates the integrated path; it does not demonstrate a failing baseline or a performance gain on this GPU.

Conventions, whitespace, source/binary manifests and exact-head verification pass. The agreed order remains this PR first, then #9508's author refreshes its heap-aware bind into the same post-pipeline location. Current #9508 at 82f76ffa still needs that composition; its source was not changed. Whole GPU harnesses used the shared reservation/FIFO and service-owned PTYs; cleanup completed. No new Windows, native-title or FPS claim; earlier affected-GPU reports retain their pins.

Evidence: immutable source and qualification receipts, SHA-256 26a1d57ff804acd2418467e4c1b7344d6d3e0bd0b8bd677be1416aa1d43c840b (download verified).

Later-main driver qualification scope — 2026-10-30

The later current-main report tests public topic ddffce84287c as private integration 01ade978ac4a10beae136d4c7602412a5c7ebb8c on main 5ecef095b61e7a406b279c97896f3a8a6fbd6353. Only the one-line bind reorder differs between the paired trees. Four cases execute and pass on each arm, including the grid reference, with three actual validation-layer insertions per arm, zero skips and zero VUIDs. SPIRV-Tools is disabled on both arms: this qualifies the requested driver/grid comparison, with no shader-optimizer coverage or new Windows/device-loss/performance claim. The earlier08a SPIRV-Tools-enabled report remains separately pinned. Public source was not rewritten for this later private integration.

AI-assisted: yes (Codex).

Additional Windows driver reports (2026-11-06)

AlfaRojo's RDNA 2 integrated-GPU report compares main b611e634f7 with head ddffce8428 merged as eeef87d41f: grid-reference fails on main and passes 3/3 with this PR. #14341 alone fails; the combination passes. These are independent Windows measurements without validation layers.

irwanrivaldi's Radeon 860M (RDNA 3.5) report uses main b11c7bf84f plus the same PR head, AMD driver 32.0.32015.7029, without #14341 or validation layers. Main differs from the reference in 402 color and 2048 depth samples. With this PR, all depth samples match, but 42 color samples still differ in all three runs, so grid-reference still fails on that device. The other three sample-order tests pass. This does not establish a complete fix for #12277 or all AMD devices. The remaining color mismatch needs separate diagnosis on an affected driver; no new local reproduction is claimed.

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. With #9056, the three sample order tests pass on this device. Overlaps #9508 on the same vkCmdBindDescriptorSets line in SampleOrder.cpp; agreed order with @Raghav314: this PR first, then #9508 puts its wrapped call inside the draw lambda after vkCmdBindPipeline (author confirmation).
  • Fixes #18229
  • Unblocks: none
  • GPUs tested: AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1, Windows 11 10.0.22621; AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.4, Linux 7.2.9
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4959800800 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-21T23:36:36Z. --- ### What `SampleOrders::Depth` bound its sampled-image descriptor set once, after `vkCmdBeginRenderPass` and before any pipeline. Each draw then bound its own pipeline. On AMD's Windows driver, the first draw's pixel shader read its image descriptor from address `0x200000000`, and the device was lost. `agc_driver_sample_order_grid_reference` fails on that driver with: ``` [device-fault] result 0: GPU fault [device-fault] read invalid at 0x200000000 (precision 0x1000) AGC graphics: vkQueueSubmit recorder: Vulkan result -4 ``` Radeon GPU Detective 1.6.3.7 places the page fault in the sample order pixel shader: - The in-progress marker is the depth reorder draw (`Draw(VertexCount=3)`). - The faulting instruction is the first image descriptor load, `s_load_dwordx8 s[12:19], s[0:1]`. Its address is built as `s0 = s7, s1 = 0x2`, so the shader received a descriptor set address of 0. How I narrowed it down, on that device, with local switches that are not in this PR: - Skipping the colour storage reorder: still faults. - Skipping the depth reorder: no fault. - Within the depth reorder, skipping the image copy: still faults. Skipping the draw: no fault. - Writing binding 1 as well: still faults. - Dropping the render pass sample locations, or every sample location state of the pass: still faults. - Binding the set after the pipeline: no fault. The set is now bound right after each pipeline, inside `draw`. The Vulkan rules allow the old order, since the layout is the same object. Binding after the pipeline is equivalent and avoids this driver's behaviour. ### Tested Windows 11 Enterprise 10.0.22621, AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1 (Adrenalin 25.10.45.16), WinLibs GCC 15.2 UCRT, Release. Base `main` a6dcea927; #8310's test change is applied locally so that MinGW builds it. Each test was run 10 times one after another: | test | `main` | this PR | this PR + #9056 | |---|---|---|---| | `agc_driver_sample_order_grid_reference` | 0/10 (device lost, above) | 0/10, now at the depth check: `the composite of uniform renders: sample 0 of pixel (0, 0) holds depth 1.08e33` | **10/10** | | `agc_driver_sample_order` | 0/10 | 0/10 (depth readback, #9056's subject) | **10/10** | | `agc_driver_sample_order_recipe_depth_locations` | 0/10 | 0/10 (same) | **10/10** | With this PR and #9056, the full suite passes 1872 of 1875. The 3 that fail: - `patched_libraries` fails the same way on `main` here: `LoadLibraryEx` error 127. - `agc_driver_image_array_window_past_layer_limit` fails on `main` here as well. - `agc_driver_tessellation` is fixed by #8884 on this device, 10/10 (see my comment there). `tools/check_conventions.py` passes. The RGD text summary and the full ctest log are kept locally. I can attach them on request. ### Additional independent evidence (2026-10-24) [brummilab reports](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6383491072) three runs per variant on main `60465afd3ac4`, AMD Radeon RX 6600 XT (Navi 23), driver `32.0.21045.16010`, Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release. This PR uses head `ba1a4d0cd`; #9056 uses `53949c077`. | Variant | sample order | grid reference | recipe depth locations | planning | | --- | --- | --- | --- | --- | | main | fails | GPU fault/device lost | fails | passes | | #9056 only | passes | fails | passes | passes | | this PR only | fails | fails | fails | passes | | #9056 + this PR | passes | passes | passes | passes | The reporter obtained the same result in all three runs. These are attributed independent observations, not locally reproduced; validation layers were not enabled. They add a second device/driver observation and do not replace the earlier validation-layer comparison or establish title performance. [The author of the original descriptor bind confirms](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6383743535) that binding after each pipeline is the intended equivalent ordering. The agreed ordering with #9508 is recorded on the dependency checklist below. A fresh focused validation comparison against the then-current main remains outstanding; these peer tests use their stated pinned base, and Windows is currently user-paused. ### Fresh Linux current-main comparison (2026-10-24) Head `24f5d3aaab5274bb9510c7b0721508b5569ec8f0` merges main `b930da950d5d076c19d8e6a025805f3799cadbc5` into the original branch. The only main/change production difference is the descriptor-bind reorder. Both full focused targets rebuilt on the same Ryzen 9 7950X / Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.4, Linux 7.2.9, GCC 16.2.1 Release. `agc_driver_sample_order`, `_grid_reference`, `_recipe_depth_locations`, and `_planning` pass **4/4 on main and 4/4 on the change**, without skips. Each ran separately with `ctest -V`, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 MESA_SHADER_CACHE_DISABLE=true VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, explicit layer path/RADV ICD and loader diagnostics. All six physical test logs confirm actual Khronos insertion. Planning is a mock test and does not supply physical validation coverage. This is **not validation-clean**: both arms log `VUID-VkWriteDescriptorSet-descriptorType-00337` (sampled image view lacks sampled usage). The VUID identifier appears 6 / 14 / 12 times respectively in the sample-order / grid-reference / recipe-depth logs on each build; planning has zero. These are log occurrences, not a count of distinct error messages. No new VUID type or increased occurrence count, missing-layer warning, device loss or timeout appears. No #9056/#9057 changes are folded in. This is Linux unit evidence; it does not reproduce the AMD Windows device loss, replace the older Windows reports or claim title/FPS improvement. Windows remains user-paused. [Fresh build/test logs, JUnit, exact patch and comparison runner](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr9503-head24f5d3aa-linux-radv-refresh.tar.gz), SHA256 `8bbc77d4a48811cd5dcb042aad1b9fc53af89a63a74d21a1b7768c0074734337`. <!-- codex-maintenance-20261029-repeat-9503 --> **Current Linux qualification — 2026-10-29** Refreshed head `1b8af30a2bac5fa1f3b6800599b46726adb2fc21` integrates pinned main `5454cd2e455994d992aca39335ce60507eeda1eb`. The descriptor bind remains after pipeline binding inside the draw callback. The existing agreement is #9503 first, then #9508’s author refreshes its descriptor-heap integration. A fresh manual hunk review confirms #9508 must move its heap-aware bind accordingly. The automated overlap fetch failed with unresolved deltas; this is recorded rather than reported as a clean automated overlap audit. No fresh negative control or affected-AMD-GPU reproduction is claimed. Fresh matched Linux Release builds on AMD Radeon RX6650XT / RADV, with SPIRV-Tools enabled: main 12 passes and change 12 passes (three repetitions of each focused group), zero skips and zero VUIDs. Actual Khronos validation-layer instance insertions are 9 on main and 9 on the change. CPU-only groups are not counted as GPU coverage. Conventions, whitespace and submodule-pointer checks pass. Later-main merge previews were clean; those preview trees were not executed. Every GPU harness used the shared reservation and launch queue. Evidence: [raw logs, JUnit and source receipts](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr9503-1b8af30a-main5454-linux-20261029-repeat.tar.gz); SHA-256 `6a2fabb6619b69017f29fc3ce403661c6fb4fbd899869c6a82a6ed62920ab48d`. [Queue and cleanup receipts](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/graphics-maintenance-terminal-receipts-20261029.tar.gz). [Current overlap audit, including fetch failure](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr9503-current-overlap-audit-20261029.tar.gz). No new Windows, macOS, native-title or performance qualification is claimed. Earlier measurements retain their original source pins. AI-assisted: yes (Codex). <!-- codex-maintenance-20261030-repeat-9503 --> **Current qualification — 2026-10-30** Integrated the one-line topic onto main `08a10d225306ad102b57408e2ef7566bcfb829b2` at `ddffce84287cbf752b7e70e478a6be78029f9215`. This includes the newer PipelineCache.cpp and ShaderResources.cpp paths identified by the review. The bind remains inside the draw callback immediately after pipeline binding; its topic range-diff is identical and current-main gitlinks are retained. Historical39fc186 results remain historical. Fresh matched Release builds with SPIRV-Tools enabled on AMD Radeon RX 6650 XT / RADV Mesa 26.2.4, Khronos validation layer 1.4.363: all four focused groups pass three times on both main and the change (12 per arm), no skips, VUIDs or compatibility warnings; nine actual layer insertions per arm. The grid-reference test executes three times per arm: both report zero color/depth differences. Its approximate control differs in 1544 samples. This validates the integrated path; it does not demonstrate a failing baseline or a performance gain on this GPU. Conventions, whitespace, source/binary manifests and exact-head verification pass. The agreed order remains this PR first, then #9508's author refreshes its heap-aware bind into the same post-pipeline location. Current #9508 at `82f76ffa` still needs that composition; its source was not changed. Whole GPU harnesses used the shared reservation/FIFO and service-owned PTYs; cleanup completed. No new Windows, native-title or FPS claim; earlier affected-GPU reports retain their pins. Evidence: [immutable source and qualification receipts](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr9503-ddffce84-main08a10-linux-20261030-repeat.tar.gz), SHA-256 `26a1d57ff804acd2418467e4c1b7344d6d3e0bd0b8bd677be1416aa1d43c840b` (download verified). <!-- codex-maintenance-20261030-repeat-9503-main5ece-pointer --> **Later-main driver qualification scope — 2026-10-30** The [later current-main report](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6514821820) tests public topic `ddffce84287c` as private integration `01ade978ac4a10beae136d4c7602412a5c7ebb8c` on main `5ecef095b61e7a406b279c97896f3a8a6fbd6353`. Only the one-line bind reorder differs between the paired trees. Four cases execute and pass on each arm, including the grid reference, with three actual validation-layer insertions per arm, zero skips and zero VUIDs. SPIRV-Tools is disabled on both arms: this qualifies the requested driver/grid comparison, with no shader-optimizer coverage or new Windows/device-loss/performance claim. The earlier08a SPIRV-Tools-enabled report remains separately pinned. Public source was not rewritten for this later private integration. AI-assisted: yes (Codex). <!-- codex-maintenance-20261106-9503-driver-limits --> ### Additional Windows driver reports (2026-11-06) [AlfaRojo's RDNA 2 integrated-GPU report](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6675978342) compares main `b611e634f7` with head `ddffce8428` merged as `eeef87d41f`: grid-reference fails on main and passes 3/3 with this PR. #14341 alone fails; the combination passes. These are independent Windows measurements without validation layers. [irwanrivaldi's Radeon 860M (RDNA 3.5) report](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6678274830) uses main `b11c7bf84f` plus the same PR head, AMD driver `32.0.32015.7029`, without #14341 or validation layers. Main differs from the reference in 402 color and 2048 depth samples. With this PR, all depth samples match, but **42 color samples still differ in all three runs, so grid-reference still fails on that device**. The other three sample-order tests pass. This does not establish a complete fix for #12277 or all AMD devices. The remaining color mismatch needs separate diagnosis on an affected driver; no new local reproduction is claimed. ### 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. With #9056, the three sample order tests pass on this device. Overlaps #9508 on the same `vkCmdBindDescriptorSets` line in `SampleOrder.cpp`; agreed order with @Raghav314: this PR first, then #9508 puts its wrapped call inside the `draw` lambda after `vkCmdBindPipeline` ([author confirmation](https://github.com/boykopovar/AnyPS5/pull/9508#issuecomment-6339210878)). - [x] Fixes #18229 - [x] Unblocks: none - [x] GPUs tested: AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1, Windows 11 10.0.22621; AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.4, Linux 7.2.9 - [x] AI-assisted: yes
MarcZX10 commented 2026-10-22 00:34:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:34:08Z.

Review: CHANGES_REQUESTED


The one-line reorder is valid Vulkan state usage: the spec says compatible descriptor sets may be bound without a pipeline having been bound first, so rebinding immediately after each pipeline is legal (Vulkan descriptor-set binding rules). The live overlap scan reports no open-PR overlap. The reported RX 6700 XT red/green runs and RGD fault location are useful evidence; policy checks pass, while hosted product/relinker jobs are skipped. I did not run local tests.

Before merge, please complete the repository-required GPU validation comparison for this AGC change. CONTRIBUTING.md requires the same focused tests on main and the change, on the same machine/GPU, with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, using ctest -V; verify the layer was actually found and compare logs for new VUID- errors. The current test report does not include that run and says the CTest/RGD logs remain local. Please run the focused sample-order tests with those settings and attach the concise results/logs (including any #8310 test-only overlay or #9056 combination needed to interpret the run). I’m requesting changes for this required GPU validation evidence, not for the reorder itself.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607890074 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5607890074). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T00:34:08Z. **Review:** CHANGES_REQUESTED --- The one-line reorder is valid Vulkan state usage: the spec says compatible descriptor sets may be bound without a pipeline having been bound first, so rebinding immediately after each pipeline is legal ([Vulkan descriptor-set binding rules](https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#descriptorsets-binding)). The live overlap scan reports no open-PR overlap. The reported RX 6700 XT red/green runs and RGD fault location are useful evidence; policy checks pass, while hosted product/relinker jobs are skipped. I did not run local tests. Before merge, please complete the repository-required GPU validation comparison for this AGC change. CONTRIBUTING.md requires the same focused tests on `main` and the change, on the same machine/GPU, with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, using `ctest -V`; verify the layer was actually found and compare logs for new `VUID-` errors. The current test report does not include that run and says the CTest/RGD logs remain local. Please run the focused sample-order tests with those settings and attach the concise results/logs (including any #8310 test-only overlay or #9056 combination needed to interpret the run). I’m requesting changes for this required GPU validation evidence, not for the reorder itself.
wachi35676 commented 2026-10-22 00:34:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-22T00:34:58Z.


Confirmed on AMD's Windows driver. On an RDNA 2 iGPU (1002:13c0, 32.0.21042.62), with #9056 and #9057, this PR fixes the agc_driver_sample_order_grid_reference device loss from #9507.

  • Without this PR: vkQueueSubmit ... -4, 3/3.
  • With it: passes 3/3, bit-exact against the device's 2x2 grid, with graphics pipeline libraries on and a fresh driver pipeline cache each run.
  • All four agc_driver_sample_order* tests pass 3/3 on the iGPU.
  • RTX 5070 Ti: three pass and _grid_reference skips, as on main.

Details in #9507.

AI-assisted: yes (Claude Code); results above were run on this machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6329758213 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6329758213). Originally posted by [wachi35676](https://github.com/wachi35676) on 2026-10-22T00:34:58Z. --- Confirmed on AMD's Windows driver. On an RDNA 2 iGPU (`1002:13c0`, 32.0.21042.62), with #9056 and #9057, this PR fixes the `agc_driver_sample_order_grid_reference` device loss from #9507. - Without this PR: `vkQueueSubmit ... -4`, 3/3. - With it: passes 3/3, bit-exact against the device's 2x2 grid, with graphics pipeline libraries on and a fresh driver pipeline cache each run. - All four `agc_driver_sample_order*` tests pass 3/3 on the iGPU. - RTX 5070 Ti: three pass and `_grid_reference` skips, as on `main`. Details in #9507. AI-assisted: yes (Claude Code); results above were run on this machine.
JJenkx commented 2026-10-22 01:38:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T01:38:41Z.


@MarcZX10 Thanks. Here is the validation run. Setup: Radeon RX 6700 XT, AMD driver 26.10.1, Windows 11 22621, base main a6dcea927. #8310's test-only change was applied to every arm so that MinGW builds the tree.

Each arm ran ctest -V -R sample_order (the four agc_driver_sample_order* tests) with:

  • VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation
  • ANYPS5_NO_SHADER_CACHE=1
  • ANYPS5_REQUIRE_VULKAN=1
  • VK_LOADER_DEBUG=warn, so a missing layer would be reported.

The layer is Vulkan-ValidationLayers vulkan-sdk-1.4.309.0, matching the system loader 1.4.309, built from source with the same WinLibs GCC 15.2 UCRT toolchain. An MSYS2 build of the layer cannot load into these processes, because its libstdc++ uses native TLS and WinLibs' uses emutls. The layer was built with USE_MIMALLOC=OFF and USE_ROBIN_HOOD_HASHING=OFF. A loader-debug run confirmed Insert instance layer "VK_LAYER_KHRONOS_validation", and no log contains was not found but was requested.

arm sample_order grid_reference recipe_depth_locations planning VUIDs
main fail fail (device lost) fail pass 20× vkDestroyDevice-device-05137, 2× VkSubmitInfo-pSignalSemaphores-03242, 2× -03244, 14× VkWriteDescriptorSet-descriptorType-00337, 12× VkImageMemoryBarrier-image-03320
this PR fail fail (now at the depth check) fail pass 18× 00337, 12× 03320
this PR + #9056 + #9057 pass pass pass pass none
#9056 + #9057, without this PR pass fail (device lost, read invalid at 0x200000000) pass pass 20× 05137, 2× 03242, 2× 03244

How to read the table:

  • This PR adds no VUID.
  • It removes the device-loss ones (05137, 03242, 03244).
  • The remaining 00337, from the depth read through a view without sampled usage, is #9056's subject. 03320, the barrier aspects, is #9057's.
  • 00337 appears more often with this PR (18 against 14) only because grid_reference now runs past the submit that used to lose the device.
  • Without this PR, #9056 + #9057 still lose the device in grid_reference.

Logs of all four arms and the RGD summary: 20261022-sample-order-validation-9503.tar.gz

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330588455 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6330588455). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T01:38:41Z. --- @MarcZX10 Thanks. Here is the validation run. Setup: Radeon RX 6700 XT, AMD driver 26.10.1, Windows 11 22621, base `main` a6dcea927. #8310's test-only change was applied to every arm so that MinGW builds the tree. Each arm ran `ctest -V -R sample_order` (the four `agc_driver_sample_order*` tests) with: - `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` - `ANYPS5_NO_SHADER_CACHE=1` - `ANYPS5_REQUIRE_VULKAN=1` - `VK_LOADER_DEBUG=warn`, so a missing layer would be reported. The layer is Vulkan-ValidationLayers `vulkan-sdk-1.4.309.0`, matching the system loader 1.4.309, built from source with the same WinLibs GCC 15.2 UCRT toolchain. An MSYS2 build of the layer cannot load into these processes, because its libstdc++ uses native TLS and WinLibs' uses emutls. The layer was built with `USE_MIMALLOC=OFF` and `USE_ROBIN_HOOD_HASHING=OFF`. A loader-debug run confirmed `Insert instance layer "VK_LAYER_KHRONOS_validation"`, and no log contains `was not found but was requested`. | arm | sample_order | grid_reference | recipe_depth_locations | planning | VUIDs | |---|---|---|---|---|---| | `main` | fail | fail (device lost) | fail | pass | 20× `vkDestroyDevice-device-05137`, 2× `VkSubmitInfo-pSignalSemaphores-03242`, 2× `-03244`, 14× `VkWriteDescriptorSet-descriptorType-00337`, 12× `VkImageMemoryBarrier-image-03320` | | this PR | fail | fail (now at the depth check) | fail | pass | 18× `00337`, 12× `03320` | | this PR + #9056 + #9057 | **pass** | **pass** | **pass** | pass | **none** | | #9056 + #9057, without this PR | pass | **fail (device lost, `read invalid at 0x200000000`)** | pass | pass | 20× `05137`, 2× `03242`, 2× `03244` | How to read the table: - This PR adds no VUID. - It removes the device-loss ones (`05137`, `03242`, `03244`). - The remaining `00337`, from the depth read through a view without sampled usage, is #9056's subject. `03320`, the barrier aspects, is #9057's. - `00337` appears more often with this PR (18 against 14) only because `grid_reference` now runs past the submit that used to lose the device. - Without this PR, #9056 + #9057 still lose the device in `grid_reference`. Logs of all four arms and the RGD summary: [20261022-sample-order-validation-9503.tar.gz](https://github.com/JJenkx/AnyPS5/raw/windows/evidence-20261021/20261022-sample-order-validation-9503.tar.gz)
MarcZX10 commented 2026-10-22 02:03:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:03:57Z.

Review: APPROVED


The author has now supplied the required focused Vulkan validation comparison in comment 6330588455: same RX 6700 XT/Windows setup, sample-order ctest with VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1, and ANYPS5_REQUIRE_VULKAN=1; loader output confirms the layer loaded, and the table compares VUIDs across main, this PR, and the #9056/#9057 combination. The comparison reports no VUIDs in the combined passing arm and no additional VUID category from this reorder. The original gfx1036 reporter also confirms #9503 fixes the device loss with GPL enabled. I reviewed the diff and report; I did not run local tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5608433327 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5608433327). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:03:57Z. **Review:** APPROVED --- The author has now supplied the required focused Vulkan validation comparison in comment 6330588455: same RX 6700 XT/Windows setup, sample-order ctest with `VK_LAYER_KHRONOS_validation`, `ANYPS5_NO_SHADER_CACHE=1`, and `ANYPS5_REQUIRE_VULKAN=1`; loader output confirms the layer loaded, and the table compares VUIDs across main, this PR, and the #9056/#9057 combination. The comparison reports no VUIDs in the combined passing arm and no additional VUID category from this reorder. The original gfx1036 reporter also confirms #9503 fixes the device loss with GPL enabled. I reviewed the diff and report; I did not run local tests.
MarcZX10 commented 2026-10-22 04:25:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:25:05Z.

Review: DISMISSED


The one-line reorder remains technically sound, and the RX 6700 XT validation-layer comparison now satisfies the GPU evidence requirement for the reported test arms: the layer load is confirmed, the focused ctest -V runs use all required environment settings, and the author compares VUIDs including the #9056/#9057 combinations. The iGPU reporter also confirms the device-loss fix. I am requesting changes for the newly reported overlap with #9508: its current head and this PR both edit SampleOrder.cpp at the sample-order draw path, but #9503 still says Depends on: none and has no author-agreed order or rebase plan. Please compare the exact hunks with #9508’s author, document which lands first and add Depends on: #N if required, then rerun overlap after rebasing. Also, the validation report and tests are against a6dcea927 while current upstream main is ab347d144d; update to current main and repeat the focused validation comparison there before merge. Hosted product jobs are skipped; I did not run local tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609247632 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5609247632). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:25:05Z. **Review:** DISMISSED --- The one-line reorder remains technically sound, and the RX 6700 XT validation-layer comparison now satisfies the GPU evidence requirement for the reported test arms: the layer load is confirmed, the focused `ctest -V` runs use all required environment settings, and the author compares VUIDs including the #9056/#9057 combinations. The iGPU reporter also confirms the device-loss fix. I am requesting changes for the newly reported overlap with #9508: its current head and this PR both edit `SampleOrder.cpp` at the sample-order draw path, but #9503 still says `Depends on: none` and has no author-agreed order or rebase plan. Please compare the exact hunks with #9508’s author, document which lands first and add `Depends on: #N` if required, then rerun overlap after rebasing. Also, the validation report and tests are against a6dcea927 while current upstream main is ab347d144d88fae054d9770cf0db8d3565735c02; update to current main and repeat the focused validation comparison there before merge. Hosted product jobs are skipped; I did not run local tests.
JJenkx commented 2026-10-22 04:38:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T04:38:54Z.


@MarcZX10, thanks. Two updates:

Overlap with #9508. Both PRs touch only the sampled-pass vkCmdBindDescriptorSets line:

  • #9503 moves it into the draw lambda after vkCmdBindPipeline.
  • #9508 wraps it as CmdBindDescriptorSets(..., SetBindSite::Detiler) where it is now.

The changes are compatible, and the second to land keeps both: the wrapped call, inside the lambda. I've proposed to Raghav314 on #9508 that this PR goes first, and offered to rebase onto theirs if they'd rather. The Depends on line now records the overlap. I'll set the order there once they answer.

Rebase. This PR is now rebased onto current main: 68b1c30cc1 on 110a18ba01. It's the same one-line change, with no conflicts. The AGC library builds there (WinLibs GCC 15.2.0 UCRT r7, Release).

Still to do: repeat the focused validation-layer comparison on that base on the RX 6700 XT, with the same four arms as before. That's a GPU run, so it waits for this machine's turn in the launch queue. I'll post it here when it's done.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6332844082 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6332844082). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T04:38:54Z. --- @MarcZX10, thanks. Two updates: **Overlap with #9508.** Both PRs touch only the sampled-pass `vkCmdBindDescriptorSets` line: - #9503 moves it into the `draw` lambda after `vkCmdBindPipeline`. - #9508 wraps it as `CmdBindDescriptorSets(..., SetBindSite::Detiler)` where it is now. The changes are compatible, and the second to land keeps both: the wrapped call, inside the lambda. I've proposed to Raghav314 on #9508 that this PR goes first, and offered to rebase onto theirs if they'd rather. The `Depends on` line now records the overlap. I'll set the order there once they answer. **Rebase.** This PR is now rebased onto current `main`: 68b1c30cc1 on 110a18ba01. It's the same one-line change, with no conflicts. The AGC library builds there (WinLibs GCC 15.2.0 UCRT r7, Release). **Still to do:** repeat the focused validation-layer comparison on that base on the RX 6700 XT, with the same four arms as before. That's a GPU run, so it waits for this machine's turn in the launch queue. I'll post it here when it's done.
fogydes commented 2026-10-22 08:41:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by fogydes on 2026-10-22T08:41:18Z.


Reviewed; the move is right. Previously cmdBindDescriptorSets ran once before the pipeline bind of the first draw; binding the pipeline inside the draw lambda and the sample-order descriptor set immediately after it makes the ordering within the command buffer match the validation the RGD fault exposed (s_load_dwordx8 reading a null descriptor address), and each of the stencil-bit draws now re-binds the same set rather than relying on a bind that preceded its pipeline. Pipelines and render pass are created before cmdBeginRenderPass, and the existing grid-reference regression is the coverage for this — no new test needed. The PR body's GPU evidence (RX 6700 XT, RGD capture with the null descriptor address) is the right kind of citation for an AGC driver-behavior change.

One nit: each of the up-to-8 stencil-bit draws re-binds an identical descriptor set where one bind after the first pipeline would also satisfy ordering; negligible next to the draws themselves. Not worth changing if the per-draw bind keeps the code simpler.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6336552567 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6336552567). Originally posted by [fogydes](https://github.com/fogydes) on 2026-10-22T08:41:18Z. --- Reviewed; the move is right. Previously `cmdBindDescriptorSets` ran once before the pipeline bind of the first draw; binding the pipeline inside the `draw` lambda and the sample-order descriptor set immediately after it makes the ordering within the command buffer match the validation the RGD fault exposed (`s_load_dwordx8` reading a null descriptor address), and each of the stencil-bit draws now re-binds the same set rather than relying on a bind that preceded its pipeline. Pipelines and render pass are created before `cmdBeginRenderPass`, and the existing grid-reference regression is the coverage for this — no new test needed. The PR body's GPU evidence (RX 6700 XT, RGD capture with the null descriptor address) is the right kind of citation for an AGC driver-behavior change. One nit: each of the up-to-8 stencil-bit draws re-binds an identical descriptor set where one bind after the first pipeline would also satisfy ordering; negligible next to the draws themselves. Not worth changing if the per-draw bind keeps the code simpler.
JJenkx commented 2026-10-22 09:00:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T09:00:17Z.


Thanks @fogydes. I'll keep the bind next to each pipeline bind in the draw lambda. One bind after the first pipeline would order correctly too, but then each draw would depend on an earlier draw having run. As you say, the extra bind costs nothing next to the draw.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6336898707 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6336898707). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T09:00:17Z. --- Thanks @fogydes. I'll keep the bind next to each pipeline bind in the `draw` lambda. One bind after the first pipeline would order correctly too, but then each draw would depend on an earlier draw having run. As you say, the extra bind costs nothing next to the draw.
MarcZX10 commented 2026-10-29 05:49:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T05:49:54Z.

Review: CHANGES_REQUESTED


Re-checked — changes requested

The one-line descriptor bind placement is supported by the reported AMD Windows comparison, which shows the targeted grid-reference test passing where the base loses the device. However, the test/report uses main 3a2b91981, while current main is 52c09d567d2fa453494dd720fcf53a98149468e4; this branch is 5,221 commits behind and does not meet the current-main checklist requirement.

What I ran

  • Reviewed exact head 24f5d3aaab (full object 24f5d3aaab...) against current main.
  • Ran a current-main merge preview and git diff --check.
  • Checked the author’s AMD Windows test report and current CI status.

Results

Check Result
Current-main merge preview Clean; current main is not in the branch history
git diff --check Passed
Reported target test Author reports three runs on the older 3a2b91981 base and this head; this GPU did not reproduce the RX 9070 GRE failure
Current-main test Not reported

Please refresh the branch onto current main and rerun the sample-order tests and validation comparison on that integrated head. I did not run the GPU tests locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5693415113 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5693415113). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T05:49:54Z. **Review:** CHANGES_REQUESTED --- # Re-checked — changes requested The one-line descriptor bind placement is supported by the reported AMD Windows comparison, which shows the targeted grid-reference test passing where the base loses the device. However, the test/report uses `main` `3a2b91981`, while current `main` is `52c09d567d2fa453494dd720fcf53a98149468e4`; this branch is 5,221 commits behind and does not meet the current-main checklist requirement. ## What I ran - Reviewed exact head `24f5d3aaab` (full object `24f5d3aaab...`) against current `main`. - Ran a current-main merge preview and `git diff --check`. - Checked the author’s AMD Windows test report and current CI status. ## Results | Check | Result | |---|---| | Current-main merge preview | Clean; current `main` is not in the branch history | | `git diff --check` | Passed | | Reported target test | Author reports three runs on the older `3a2b91981` base and this head; this GPU did not reproduce the RX 9070 GRE failure | | Current-main test | Not reported | Please refresh the branch onto current `main` and rerun the sample-order tests and validation comparison on that integrated head. I did not run the GPU tests locally.
MarcZX10 commented 2026-10-29 23:38:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T23:38:39Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The exact head still contains only the sample-order descriptor-bind reorder and merges cleanly with current main, but no validation-layer run exercised the reported failing grid-reference test on this head.

What I ran

Reviewed exact head 1b8af30a2bac5fa1f3b6800599b46726adb2fc21 against its recorded base 157b02c4f1803e9d2cd757677b9a805961203fc4. I also checked a merge preview against refreshed main 1189ec3003672bb364dd9f3119ead7b3976e3c83; it is clean. Environment: Debian GNU/Linux x86_64, kernel 6.1.0-54-amd64, Python 3.11.2. I did not build or run tests locally.

gh pr checks 9503 --repo boykopovar/AnyPS5
git diff --check upstream/main...refs/review/pr-9503-current
git merge-tree --write-tree upstream/main refs/review/pr-9503-current
python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-9503-current

Results

Check Result
Diff check Pass; exit 0, no output.
Current-main merge preview Clean.
Repository conventions Pass.
Hosted checks Windows, conventions, labels, report, and eligibility pass; Linux and specialized jobs are skipped.
Exact-head NVIDIA report The author-reported report on this head passes its selected suite with no new validation IDs, but agc_driver_sample_order_grid_reference was skipped because that GPU could not retain custom-sample depth for comparison.
AMD comparison The author reports the target grid-reference behavior on earlier head 24f5d3aaa; that machine did not have the Khronos validation layer installed. The report also records a separate 42-color-sample failure on the RX 9070 GRE, which the author is tracking in #12277.
Unedited output from hosted and local checks
conventions	pass	13s	https://github.com/boykopovar/AnyPS5/actions/runs/40884941875/job/123486012754
labels	pass	8s	https://github.com/boykopovar/AnyPS5/actions/runs/40884941906/job/123486014522
report	pass	51s	https://github.com/boykopovar/AnyPS5/actions/runs/40878591284/job/123463741646
windows	pass	2m25s	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465732564
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465735758
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465735578
relinker	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465734670
relinker-asan	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465736236
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465735832
eligibility	pass	5s	https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123463742957
c489960ce2705c6f98c4fefcc0eff66d8adbdad7
All conventions checks passed.

Findings

Blocking

  • Required validation-layer comparison is missing for the exercised failure. CONTRIBUTING.md requires paired focused AGC tests on main and the change, with VK_LAYER_KHRONOS_validation, on the same GPU. The current NVIDIA report did not run the grid-reference test, and the AMD report that did exercise it is on an earlier head and explicitly says the validation layer was not installed. Please run the focused sample-order comparison on current main and this exact head on a GPU that exercises the grid-reference case, and report the GPU, driver, OS, layer-load confirmation, and new VUID- comparison. The current-main merge preview is clean, so no rebase is requested solely for branch age.

Non-blocking

The earlier AMD report records a separate 42-color-sample failure on the RX 9070 GRE on both base and change; the author links that follow-up to #12277. The NVIDIA exact-head report also skips the grid-reference test, so it does not independently confirm that case.

Sources

Not verified

I did not independently reproduce the AMD GPU behavior, run Vulkan validation, build, or test on console hardware. The current-head NVIDIA report skipped the target grid-reference test.

To get this to a good state

Provide the paired validation-layer sample-order result on the current head and current main; I will rerun the same source checks and reassess the new evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5706343259 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5706343259). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T23:38:39Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The exact head still contains only the sample-order descriptor-bind reorder and merges cleanly with current `main`, but no validation-layer run exercised the reported failing grid-reference test on this head. ## What I ran Reviewed exact head `1b8af30a2bac5fa1f3b6800599b46726adb2fc21` against its recorded base `157b02c4f1803e9d2cd757677b9a805961203fc4`. I also checked a merge preview against refreshed `main` `1189ec3003672bb364dd9f3119ead7b3976e3c83`; it is clean. Environment: Debian GNU/Linux x86_64, kernel `6.1.0-54-amd64`, Python 3.11.2. I did not build or run tests locally. ```sh gh pr checks 9503 --repo boykopovar/AnyPS5 git diff --check upstream/main...refs/review/pr-9503-current git merge-tree --write-tree upstream/main refs/review/pr-9503-current python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-9503-current ``` ## Results | Check | Result | |---|---| | Diff check | Pass; exit 0, no output. | | Current-main merge preview | Clean. | | Repository conventions | Pass. | | Hosted checks | Windows, conventions, labels, report, and eligibility pass; Linux and specialized jobs are skipped. | | Exact-head NVIDIA report | The author-reported report on this head passes its selected suite with no new validation IDs, but `agc_driver_sample_order_grid_reference` was skipped because that GPU could not retain custom-sample depth for comparison. | | AMD comparison | The author reports the target grid-reference behavior on earlier head `24f5d3aaa`; that machine did not have the Khronos validation layer installed. The report also records a separate 42-color-sample failure on the RX 9070 GRE, which the author is tracking in #12277. | <details> <summary>Unedited output from hosted and local checks</summary> ```text conventions pass 13s https://github.com/boykopovar/AnyPS5/actions/runs/40884941875/job/123486012754 labels pass 8s https://github.com/boykopovar/AnyPS5/actions/runs/40884941906/job/123486014522 report pass 51s https://github.com/boykopovar/AnyPS5/actions/runs/40878591284/job/123463741646 windows pass 2m25s https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465732564 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465735758 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465735578 relinker skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465734670 relinker-asan skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465736236 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123465735832 eligibility pass 5s https://github.com/boykopovar/AnyPS5/actions/runs/40878591313/job/123463742957 c489960ce2705c6f98c4fefcc0eff66d8adbdad7 All conventions checks passed. ``` </details> ## Findings ### Blocking - **Required validation-layer comparison is missing for the exercised failure.** `CONTRIBUTING.md` requires paired focused AGC tests on `main` and the change, with `VK_LAYER_KHRONOS_validation`, on the same GPU. The current NVIDIA report did not run the grid-reference test, and the AMD report that did exercise it is on an earlier head and explicitly says the validation layer was not installed. Please run the focused sample-order comparison on current `main` and this exact head on a GPU that exercises the grid-reference case, and report the GPU, driver, OS, layer-load confirmation, and new `VUID-` comparison. The current-main merge preview is clean, so no rebase is requested solely for branch age. ### Non-blocking The earlier AMD report records a separate 42-color-sample failure on the RX 9070 GRE on both base and change; the author links that follow-up to #12277. The NVIDIA exact-head report also skips the grid-reference test, so it does not independently confirm that case. ## Sources - [Sample-order change at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/1b8af30a2bac5fa1f3b6800599b46726adb2fc21/core/libs/prx/libSceAgcDriver/Graphics/src/SampleOrder.cpp) - [Exact-head NVIDIA report](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6510867939) - [Earlier AMD report and test limitations](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6484599684) - [AGC validation requirement at refreshed `main`](https://github.com/boykopovar/AnyPS5/blob/1189ec3003672bb364dd9f3119ead7b3976e3c83/CONTRIBUTING.md#L70) - [Related RX 9070 GRE color-sample follow-up](https://github.com/boykopovar/AnyPS5/pull/12277) ## Not verified I did not independently reproduce the AMD GPU behavior, run Vulkan validation, build, or test on console hardware. The current-head NVIDIA report skipped the target grid-reference test. ## To get this to a good state Provide the paired validation-layer sample-order result on the current head and current `main`; I will rerun the same source checks and reassess the new evidence.
MarcZX10 commented 2026-10-29 23:52:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T23:52:40Z.

Review: APPROVED


Re-checked — new evidence, looks good

The paired AMD validation run exercises the binding-order change and removes the depth differences; the remaining color mismatch is smaller than on main and is tracked separately.

What I ran

  • Exact PR head: 1b8af30a2bac5fa1f3b6800599b46726adb2fc21; recorded PR base: 157b02c4f1803e9d2cd757677b9a805961203fc4.
  • Current upstream/main: 1189ec3003672bb364dd9f3119ead7b3976e3c83; merge preview is clean, tree c489960ce2705c6f98c4fefcc0eff66d8adbdad7.
  • The current-main diff is one line in SampleOrder.cpp; that file has not changed on main since the AMD report's 2960e9a6e7e1fc99c4ed180c71495b5eb83464c7 base.
  • Environment: Linux workspace; no local build or GPU test was run.
git merge-tree --write-tree upstream/main refs/review/pr-9503-current
git diff --check upstream/main...refs/review/pr-9503-current
python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-9503-current

Results

Check Result
Current-main merge preview Clean
git diff --check Passed; no output
Conventions Passed
Hosted Windows job Passed on this head
Hosted conventions, eligibility, labels and report Passed
Product Linux and specialized jobs Skipped by workflow policy
AMD validation comparison Author/reporter-run on the same SampleOrder.cpp change: main had 402 color and 2,048 depth differences; the changed order had 42 color and 0 depth differences, with zero VUID- lines
Unedited local command output
$ git merge-tree --write-tree upstream/main refs/review/pr-9503-current
c489960ce2705c6f98c4fefcc0eff66d8adbdad7
$ git diff --check upstream/main...refs/review/pr-9503-current
[no output; exit status 0]
$ python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-9503-current
All conventions checks passed.

Not verified

I did not independently build or run the GPU comparison. The reporter applied the one-line change to a local environment switch in a single test binary rather than building this PR head. SampleOrder.cpp is unchanged on current main since that comparison's base, and the PR's current diff is that same one-line change. Physical-console behavior was not tested.

Findings

Blocking

None found in this re-check.

Non-blocking

The AMD grid-reference test still reports 42 color differences after the change. The paired report attributes them to the separate J-barycentric mismatch tracked in issue #12732; the PR change reduces the base's color differences and removes its depth differences.

Sources

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5706451088 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5706451088). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T23:52:40Z. **Review:** APPROVED --- # Re-checked — new evidence, looks good The paired AMD validation run exercises the binding-order change and removes the depth differences; the remaining color mismatch is smaller than on `main` and is tracked separately. ## What I ran - Exact PR head: `1b8af30a2bac5fa1f3b6800599b46726adb2fc21`; recorded PR base: `157b02c4f1803e9d2cd757677b9a805961203fc4`. - Current `upstream/main`: `1189ec3003672bb364dd9f3119ead7b3976e3c83`; merge preview is clean, tree `c489960ce2705c6f98c4fefcc0eff66d8adbdad7`. - The current-main diff is one line in `SampleOrder.cpp`; that file has not changed on `main` since the AMD report's `2960e9a6e7e1fc99c4ed180c71495b5eb83464c7` base. - Environment: Linux workspace; no local build or GPU test was run. ```sh git merge-tree --write-tree upstream/main refs/review/pr-9503-current git diff --check upstream/main...refs/review/pr-9503-current python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-9503-current ``` ## Results | Check | Result | |---|---| | Current-main merge preview | Clean | | `git diff --check` | Passed; no output | | Conventions | Passed | | Hosted Windows job | Passed on this head | | Hosted conventions, eligibility, labels and report | Passed | | Product Linux and specialized jobs | Skipped by workflow policy | | AMD validation comparison | Author/reporter-run on the same `SampleOrder.cpp` change: `main` had 402 color and 2,048 depth differences; the changed order had 42 color and 0 depth differences, with zero `VUID-` lines | <details> <summary>Unedited local command output</summary> ```text $ git merge-tree --write-tree upstream/main refs/review/pr-9503-current c489960ce2705c6f98c4fefcc0eff66d8adbdad7 $ git diff --check upstream/main...refs/review/pr-9503-current [no output; exit status 0] $ python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-9503-current All conventions checks passed. ``` </details> ## Not verified I did not independently build or run the GPU comparison. The reporter applied the one-line change to a local environment switch in a single test binary rather than building this PR head. `SampleOrder.cpp` is unchanged on current `main` since that comparison's base, and the PR's current diff is that same one-line change. Physical-console behavior was not tested. ## Findings ### Blocking None found in this re-check. ### Non-blocking The AMD grid-reference test still reports 42 color differences after the change. The paired report attributes them to the separate J-barycentric mismatch tracked in [issue #12732](https://github.com/boykopovar/AnyPS5/issues/12732); the PR change reduces the base's color differences and removes its depth differences. ## Sources - [Sample-order change at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/1b8af30a2bac5fa1f3b6800599b46726adb2fc21/core/libs/prx/libSceAgcDriver/Graphics/src/SampleOrder.cpp) - [Paired RX 9070 XT validation report](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6511182160) - [Issue tracking the residual color mismatch](https://github.com/boykopovar/AnyPS5/issues/12732)
MarcZX10 commented 2026-10-30 01:26:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T01:26:17Z.

Review: CHANGES_REQUESTED


Re-checked — current-main validation still needed

The new AMD report runs the requested grid-reference test with Vulkan validation, but its baseline is main 39fc186c978aa6332538fb1101d1722124979ab5, not current main 1a217758a55c09e817366fa4411daac854eeb3f9.

Findings

Blocking

The repository requires paired focused AGC tests on main and the change with the validation layer enabled on the same GPU (CONTRIBUTING.md at current main). Since the report's baseline, current main has changed AGC pipeline and shader-resource code used by the sample-order execution path (PipelineCache.cpp, ShaderResources.cpp). The reported run therefore does not establish the required comparison against today's integrated baseline. Please run the same focused CTest comparison on current main and this exact head on the same GPU, confirming layer insertion and comparing VUID- counts. This is a validation request; no rebase is requested solely because the branch is behind.

Not verified

I did not run a local build or GPU test. The AMD results and logs are reporter-supplied. Current-head hosted Windows passes; Linux and specialized jobs are skipped.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5707048574 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5707048574). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-30T01:26:17Z. **Review:** CHANGES_REQUESTED --- # Re-checked — current-main validation still needed The new AMD report runs the requested grid-reference test with Vulkan validation, but its baseline is `main` `39fc186c978aa6332538fb1101d1722124979ab5`, not current `main` `1a217758a55c09e817366fa4411daac854eeb3f9`. ## Findings ### Blocking The repository requires paired focused AGC tests on `main` and the change with the validation layer enabled on the same GPU ([CONTRIBUTING.md at current main](https://github.com/boykopovar/AnyPS5/blob/1a217758a55c09e817366fa4411daac854eeb3f9/CONTRIBUTING.md#L72)). Since the report's baseline, current `main` has changed AGC pipeline and shader-resource code used by the sample-order execution path ([PipelineCache.cpp](https://github.com/boykopovar/AnyPS5/blob/1a217758a55c09e817366fa4411daac854eeb3f9/core/libs/prx/libSceAgcDriver/Graphics/src/PipelineCache.cpp), [ShaderResources.cpp](https://github.com/boykopovar/AnyPS5/blob/1a217758a55c09e817366fa4411daac854eeb3f9/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp)). The reported run therefore does not establish the required comparison against today's integrated baseline. Please run the same focused CTest comparison on current `main` and this exact head on the same GPU, confirming layer insertion and comparing `VUID-` counts. This is a validation request; no rebase is requested solely because the branch is behind. ### Not verified I did not run a local build or GPU test. The AMD results and logs are reporter-supplied. Current-head hosted Windows passes; Linux and specialized jobs are skipped.
MarcZX10 commented 2026-10-30 04:08:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T04:08:53Z.

Review: APPROVED


Re-checked — new head, looks good

The author’s refreshed same-GPU validation report covers the current integration, and I found no remaining blocker on exact head ddffce84287cbf752b7e70e478a6be78029f9215.

What I ran

  • PR head: ddffce84287cbf752b7e70e478a6be78029f9215; base: upstream/main 5ecef095b61e7a406b279c97896f3a8a6fbd6353.
  • Merge preview: clean, tree 8a9d5353b962e5d353b15ba3b6b9a4a32875883b.
  • Commands:
git merge-tree --write-tree upstream/main upstream/pr/9503
git diff --check upstream/main...upstream/pr/9503
python3 tools/check_conventions.py --base upstream/main --head upstream/pr/9503

Results

Check Result
Merge preview Pass; clean tree 8a9d5353b962e5d353b15ba3b6b9a4a32875883b.
Diff check Pass; no output.
Conventions Pass; All conventions checks passed.
Current-main validation report The author reports four focused groups passed three times on each arm (12 runs per arm), with no skips, VUIDs, or compatibility warnings; the grid-reference test reports zero color and depth differences on both arms. The report is on the integrated head and main 08a10d225306ad102b57408e2ef7566bcfb829b2. I verified the three relevant AGC source paths are unchanged between that main and current main 5ecef095b61e7a406b279c97896f3a8a6fbd6353. Author’s report
Unedited local command output

git merge-tree --write-tree upstream/main upstream/pr/9503

8a9d5353b962e5d353b15ba3b6b9a4a32875883b

git diff --check upstream/main...upstream/pr/9503 exited 0 and produced no output.

python3 tools/check_conventions.py --base upstream/main --head upstream/pr/9503

All conventions checks passed.

Not verified

  • I did not run a local build or GPU tests. The Vulkan validation comparison is author-reported; I reviewed its pinned heads and the relevant source delta.
  • Console/title behavior was not tested in this review.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5707972593 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5707972593). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-30T04:08:53Z. **Review:** APPROVED --- # Re-checked — new head, looks good The author’s refreshed same-GPU validation report covers the current integration, and I found no remaining blocker on exact head `ddffce84287cbf752b7e70e478a6be78029f9215`. ## What I ran - PR head: `ddffce84287cbf752b7e70e478a6be78029f9215`; base: `upstream/main` `5ecef095b61e7a406b279c97896f3a8a6fbd6353`. - Merge preview: clean, tree `8a9d5353b962e5d353b15ba3b6b9a4a32875883b`. - Commands: ```sh git merge-tree --write-tree upstream/main upstream/pr/9503 git diff --check upstream/main...upstream/pr/9503 python3 tools/check_conventions.py --base upstream/main --head upstream/pr/9503 ``` ## Results | Check | Result | |---|---| | Merge preview | Pass; clean tree `8a9d5353b962e5d353b15ba3b6b9a4a32875883b`. | | Diff check | Pass; no output. | | Conventions | Pass; `All conventions checks passed.` | | Current-main validation report | The author reports four focused groups passed three times on each arm (12 runs per arm), with no skips, VUIDs, or compatibility warnings; the grid-reference test reports zero color and depth differences on both arms. The report is on the integrated head and main `08a10d225306ad102b57408e2ef7566bcfb829b2`. I verified the three relevant AGC source paths are unchanged between that main and current main `5ecef095b61e7a406b279c97896f3a8a6fbd6353`. [Author’s report](https://github.com/boykopovar/AnyPS5/pull/9503#issuecomment-6514595702) | <details> <summary>Unedited local command output</summary> `git merge-tree --write-tree upstream/main upstream/pr/9503` ```text 8a9d5353b962e5d353b15ba3b6b9a4a32875883b ``` `git diff --check upstream/main...upstream/pr/9503` exited 0 and produced no output. `python3 tools/check_conventions.py --base upstream/main --head upstream/pr/9503` ```text All conventions checks passed. ``` </details> ## Not verified - I did not run a local build or GPU tests. The Vulkan validation comparison is author-reported; I reviewed its pinned heads and the relevant source delta. - Console/title behavior was not tested in this review.
MarcZX10 commented 2026-11-14 10:41:11 +00:00 (Migrated from github.com)

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

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head aee9406abdfed628f16db8851e08c1db97465c83. Read the PR description, commit summary, manifest, diff, and the changed function in SampleOrder.cpp. No commands or tests were run; repo_read.py was not available through the review tools.

Results

Check Result Note
Change and context review passed Reviewed the sole changed line and its draw callback.
Tests not run No tests run for this review.

Findings

Blocking

None.

Non-blocking

None.

Not verified

SampleOrder.cpp was the only changed file and was read around the modified draw callback. No excluded changed files were listed in the manifest. The repository reader and files not included in the review bundle were not inspected. The hardware test reports in the PR description were author-supplied and were not independently reproduced.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5903886943 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5903886943). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-14T10:41:11Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `aee9406abdfed628f16db8851e08c1db97465c83`. Read the PR description, commit summary, manifest, diff, and the changed function in `SampleOrder.cpp`. No commands or tests were run; `repo_read.py` was not available through the review tools. ## Results | Check | Result | Note | |---|---|---| | Change and context review | passed | Reviewed the sole changed line and its draw callback. | | Tests | not run | No tests run for this review. | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified `SampleOrder.cpp` was the only changed file and was read around the modified draw callback. No excluded changed files were listed in the manifest. The repository reader and files not included in the review bundle were not inspected. The hardware test reports in the PR description were author-supplied and were not independently reproduced. ## To get this to a good state Nothing is required.
Superseabas commented 2026-11-14 12:50:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Superseabas on 2026-11-14T12:50:07Z.

Review: APPROVED


Windows re-check of the refreshed head aee9406abd on the Ryzen 7 7700X's integrated Radeon (1002:164e), the GPU from my earlier report. Merged onto main 0f4538fa02 (b730e8566b, clean merge; the only change is the one line in SampleOrder.cpp).

Setup: Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh, r3), Release, run from PowerShell with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and the Khronos validation layer. GPUs: AMD Radeon integrated (Adrenalin 26.10.2) and NVIDIA GeForce RTX 5070 Ti (621.01).

ctest -R '^agc_driver_sample_order' (4 tests: sample_order, sample_order_planning, sample_order_grid_reference, sample_order_recipe_depth_locations), 3 runs, then agc_driver_sample_order_grid_reference alone 10 more times:

main 0f4538fa02 this PR merged
Radeon, the set 3 of 4 pass, in 3 of 3 runs 4 of 4 pass, in 3 of 3 runs
Radeon, grid_reference × 10 0 of 10 10 of 10
RTX 5070 Ti, the set 4 of 4 pass (grid_reference skips), in 3 of 3 runs the same
  • On main the Radeon still fails as before, with "the exact path differs from the reference in 379 color and 2048 depth samples". With this PR it reports 0 color and 0 depth samples, and "the exact path renders Village's 2x checkerboard like the device's 2x2 sample location grid, bit for bit".
  • The RTX 5070 Ti skips grid_reference on both sides, because the device doesn't keep depth drawn at custom sample locations. So it gives no comparison here.
  • No validation messages on either GPU, on either side.

So the merge resolution around #16752's recording.BindPipeline(context, pipeline, slots), which binds the descriptor set after each pipeline bind inside the draw lambda, still fixes this GPU.

Not run: the full ^agc set on this head.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5904403374 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9503#pullrequestreview-5904403374). Originally posted by [Superseabas](https://github.com/Superseabas) on 2026-11-14T12:50:07Z. **Review:** APPROVED --- Windows re-check of the refreshed head `aee9406abd` on the Ryzen 7 7700X's integrated Radeon (`1002:164e`), the GPU from my earlier report. Merged onto `main` `0f4538fa02` (`b730e8566b`, clean merge; the only change is the one line in `SampleOrder.cpp`). **Setup:** Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (`x86_64-ucrt-posix-seh`, r3), Release, run from PowerShell with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and the Khronos validation layer. GPUs: AMD Radeon integrated (Adrenalin 26.10.2) and NVIDIA GeForce RTX 5070 Ti (621.01). `ctest -R '^agc_driver_sample_order'` (4 tests: `sample_order`, `sample_order_planning`, `sample_order_grid_reference`, `sample_order_recipe_depth_locations`), 3 runs, then `agc_driver_sample_order_grid_reference` alone 10 more times: | | `main` `0f4538fa02` | this PR merged | |---|---|---| | Radeon, the set | 3 of 4 pass, in 3 of 3 runs | 4 of 4 pass, in 3 of 3 runs | | Radeon, `grid_reference` × 10 | 0 of 10 | 10 of 10 | | RTX 5070 Ti, the set | 4 of 4 pass (`grid_reference` skips), in 3 of 3 runs | the same | - On `main` the Radeon still fails as before, with "the exact path differs from the reference in 379 color and 2048 depth samples". With this PR it reports 0 color and 0 depth samples, and "the exact path renders Village's 2x checkerboard like the device's 2x2 sample location grid, bit for bit". - The RTX 5070 Ti skips `grid_reference` on both sides, because the device doesn't keep depth drawn at custom sample locations. So it gives no comparison here. - No validation messages on either GPU, on either side. So the merge resolution around #16752's `recording.BindPipeline(context, pipeline, slots)`, which binds the descriptor set after each pipeline bind inside the draw lambda, still fixes this GPU. Not run: the full `^agc` set on this head. AI-assisted: yes (Claude Code)
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!9503
No description provided.