fix(agc): bind the sample order depth set after its pipeline #9503
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9503"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T23:36:36Z.
What
SampleOrders::Depthbound its sampled-image descriptor set once, aftervkCmdBeginRenderPassand 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 address0x200000000, and the device was lost.agc_driver_sample_order_grid_referencefails on that driver with:Radeon GPU Detective 1.6.3.7 places the page fault in the sample order pixel shader:
Draw(VertexCount=3)).s_load_dwordx8 s[12:19], s[0:1]. Its address is built ass0 = 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:
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
maina6dcea927; #8310's test change is applied locally so that MinGW builds it. Each test was run 10 times one after another:mainagc_driver_sample_order_grid_referencethe composite of uniform renders: sample 0 of pixel (0, 0) holds depth 1.08e33agc_driver_sample_orderagc_driver_sample_order_recipe_depth_locationsWith this PR and #9056, the full suite passes 1872 of 1875. The 3 that fail:
patched_librariesfails the same way onmainhere:LoadLibraryExerror 127.agc_driver_image_array_window_past_layer_limitfails onmainhere as well.agc_driver_tessellationis fixed by #8884 on this device, 10/10 (see my comment there).tools/check_conventions.pypasses.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), driver32.0.21045.16010, Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release. This PR uses headba1a4d0cd; #9056 uses53949c077.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
24f5d3aaab5274bb9510c7b0721508b5569ec8f0merges mainb930da950d5d076c19d8e6a025805f3799cadbc5into 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_planningpass 4/4 on main and 4/4 on the change, without skips. Each ran separately withctest -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
1b8af30a2bac5fa1f3b6800599b46726adb2fc21integrates pinned main5454cd2e455994d992aca39335ce60507eeda1eb.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
08a10d225306ad102b57408e2ef7566bcfb829b2atddffce84287cbf752b7e70e478a6be78029f9215. 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
82f76ffastill 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
ddffce84287cas private integration01ade978ac4a10beae136d4c7602412a5c7ebb8con main5ecef095b61e7a406b279c97896f3a8a6fbd6353. 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
b611e634f7with headddffce8428merged aseeef87d41f: 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
b11c7bf84fplus the same PR head, AMD driver32.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
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)vkCmdBindDescriptorSetsline inSampleOrder.cpp; agreed order with @Raghav314: this PR first, then #9508 puts its wrapped call inside thedrawlambda aftervkCmdBindPipeline(author confirmation).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
mainand the change, on the same machine/GPU, withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1, andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, usingctest -V; verify the layer was actually found and compare logs for newVUID-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.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 theagc_driver_sample_order_grid_referencedevice loss from #9507.vkQueueSubmit ... -4, 3/3.agc_driver_sample_order*tests pass 3/3 on the iGPU._grid_referenceskips, as onmain.Details in #9507.
AI-assisted: yes (Claude Code); results above were run on this machine.
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
maina6dcea927. #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 fouragc_driver_sample_order*tests) with:VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validationANYPS5_NO_SHADER_CACHE=1ANYPS5_REQUIRE_VULKAN=1VK_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 withUSE_MIMALLOC=OFFandUSE_ROBIN_HOOD_HASHING=OFF. A loader-debug run confirmedInsert instance layer "VK_LAYER_KHRONOS_validation", and no log containswas not found but was requested.mainvkDestroyDevice-device-05137, 2×VkSubmitInfo-pSignalSemaphores-03242, 2×-03244, 14×VkWriteDescriptorSet-descriptorType-00337, 12×VkImageMemoryBarrier-image-0332000337, 12×03320read invalid at 0x200000000)05137, 2×03242, 2×03244How to read the table:
05137,03242,03244).00337, from the depth read through a view without sampled usage, is #9056's subject.03320, the barrier aspects, is #9057's.00337appears more often with this PR (18 against 14) only becausegrid_referencenow runs past the submit that used to lose the device.grid_reference.Logs of all four arms and the RGD summary: 20261022-sample-order-validation-9503.tar.gz
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, andANYPS5_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.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 -Vruns 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 editSampleOrder.cppat the sample-order draw path, but #9503 still saysDepends on: noneand has no author-agreed order or rebase plan. Please compare the exact hunks with #9508’s author, document which lands first and addDepends on: #Nif required, then rerun overlap after rebasing. Also, the validation report and tests are againsta6dcea927while current upstream main isab347d144d; update to current main and repeat the focused validation comparison there before merge. Hosted product jobs are skipped; I did not run local tests.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
vkCmdBindDescriptorSetsline:drawlambda aftervkCmdBindPipeline.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 online now records the overlap. I'll set the order there once they answer.Rebase. This PR is now rebased onto current
main: 68b1c30cc1 on110a18ba01. 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.
Imported from boykopovar/AnyPS5. Originally posted by fogydes on 2026-10-22T08:41:18Z.
Reviewed; the move is right. Previously
cmdBindDescriptorSetsran once before the pipeline bind of the first draw; binding the pipeline inside thedrawlambda 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_dwordx8reading 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 beforecmdBeginRenderPass, 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.
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
drawlambda. 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.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
main3a2b91981, while currentmainis52c09d567d2fa453494dd720fcf53a98149468e4; this branch is 5,221 commits behind and does not meet the current-main checklist requirement.What I ran
24f5d3aaab(full object24f5d3aaab...) against currentmain.git diff --check.Results
mainis not in the branch historygit diff --check3a2b91981base and this head; this GPU did not reproduce the RX 9070 GRE failurePlease refresh the branch onto current
mainand rerun the sample-order tests and validation comparison on that integrated head. I did not run the GPU tests locally.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
1b8af30a2bac5fa1f3b6800599b46726adb2fc21against its recorded base157b02c4f1803e9d2cd757677b9a805961203fc4. I also checked a merge preview against refreshedmain1189ec3003672bb364dd9f3119ead7b3976e3c83; it is clean. Environment: Debian GNU/Linux x86_64, kernel6.1.0-54-amd64, Python 3.11.2. I did not build or run tests locally.Results
agc_driver_sample_order_grid_referencewas skipped because that GPU could not retain custom-sample depth for comparison.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
Findings
Blocking
CONTRIBUTING.mdrequires paired focused AGC tests onmainand the change, withVK_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 currentmainand this exact head on a GPU that exercises the grid-reference case, and report the GPU, driver, OS, layer-load confirmation, and newVUID-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
mainNot 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.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
mainand is tracked separately.What I ran
1b8af30a2bac5fa1f3b6800599b46726adb2fc21; recorded PR base:157b02c4f1803e9d2cd757677b9a805961203fc4.upstream/main:1189ec3003672bb364dd9f3119ead7b3976e3c83; merge preview is clean, treec489960ce2705c6f98c4fefcc0eff66d8adbdad7.SampleOrder.cpp; that file has not changed onmainsince the AMD report's2960e9a6e7e1fc99c4ed180c71495b5eb83464c7base.Results
git diff --checkSampleOrder.cppchange:mainhad 402 color and 2,048 depth differences; the changed order had 42 color and 0 depth differences, with zeroVUID-linesUnedited local command output
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.cppis unchanged on currentmainsince 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
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
main39fc186c978aa6332538fb1101d1722124979ab5, not currentmain1a217758a55c09e817366fa4411daac854eeb3f9.Findings
Blocking
The repository requires paired focused AGC tests on
mainand the change with the validation layer enabled on the same GPU (CONTRIBUTING.md at current main). Since the report's baseline, currentmainhas 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 currentmainand this exact head on the same GPU, confirming layer insertion and comparingVUID-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.
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
ddffce84287cbf752b7e70e478a6be78029f9215; base:upstream/main5ecef095b61e7a406b279c97896f3a8a6fbd6353.8a9d5353b962e5d353b15ba3b6b9a4a32875883b.Results
8a9d5353b962e5d353b15ba3b6b9a4a32875883b.All conventions checks passed.08a10d225306ad102b57408e2ef7566bcfb829b2. I verified the three relevant AGC source paths are unchanged between that main and current main5ecef095b61e7a406b279c97896f3a8a6fbd6353. Author’s reportUnedited local command output
git merge-tree --write-tree upstream/main upstream/pr/9503git diff --check upstream/main...upstream/pr/9503exited 0 and produced no output.python3 tools/check_conventions.py --base upstream/main --head upstream/pr/9503Not verified
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 inSampleOrder.cpp. No commands or tests were run;repo_read.pywas not available through the review tools.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
SampleOrder.cppwas 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.
Imported from boykopovar/AnyPS5. Originally posted by Superseabas on 2026-11-14T12:50:07Z.
Review: APPROVED
Windows re-check of the refreshed head
aee9406abdon the Ryzen 7 7700X's integrated Radeon (1002:164e), the GPU from my earlier report. Merged ontomain0f4538fa02(b730e8566b, clean merge; the only change is the one line inSampleOrder.cpp).Setup: Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (
x86_64-ucrt-posix-seh, r3), Release, run from PowerShell withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1and 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, thenagc_driver_sample_order_grid_referencealone 10 more times:main0f4538fa02grid_reference× 10grid_referenceskips), in 3 of 3 runsmainthe 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".grid_referenceon both sides, because the device doesn't keep depth drawn at custom sample locations. So it gives no comparison here.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
^agcset on this head.AI-assisted: yes (Claude Code)