Repository navigation
Conversation
…d sample a SAMPLED copy in sample order tests Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015C6HgEib8H1FTuXHk5SjKa
MarcZX10
left a comment
There was a problem hiding this comment.
The two Vulkan fixes are well supported by the reported before/after validation-layer runs, and my exact-head conventions check plus git diff --check passed. The branch still needs overlap coordination before approval:
- Open #9057 changes
Graphics/src/SampleOrder.cppto transition the depth copy with both aspects when its format has stencil. This PR makes the same transition change in that file and additionally fixes the initialDepthSurface.cpptransition. - Open #9056 changes
tests/execution/SampleOrder.cppto read depth through a test-owned sampled copy, addressing the same descriptor-usage VUID that this PR’sReadDepthhelper addresses.
Please coordinate with both authors, agree which PR lands first or whether one change supersedes part of the other, and record the resulting order/dependency on the checklist. The PR currently says Depends on: none; that does not reflect these shared files and overlapping fixes. I did not run the AGC runtime suite locally; the validation-layer and GPU runs in the description are contributor-reported. Hosted product tests are not present in this PR’s checks.
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
NVIDIA run on Linux, where the sample-order tests fail on To separate the two halves of the PR, I also ran the four
AI-assisted: yes (Claude Code). The runs are from this machine. |
|
@Moeed2 a merge-order note from #9533, ours, which #9717 and #9742 stack on. Both PRs change the same
They compose: the call takes #9533's clear value and this PR's range. We'd propose that this PR goes first, and #9533 rebases over it and lists it under Depends on. If you'd rather go second, say so. |
|
Thanks @MarcZX10, @Lindamea1 and @EagleBearerYS for the review and the runs. I hit these failures independently on an RX 6700 XT and missed that #9056 and #9057 were already open for the same issue. Those cover it, with the same results on my card (Windows 10, driver 26.8.1), so I'm closing this in favour of them. Sorry for the noise. @EagleBearerYS, so #9533 isn't held up waiting on this: I don't think this branch widened the |
|
@Moeed2 thank you for writing, and you're right. On |
What
Fixes two Vulkan validation errors in the multisampled depth sample-order paths. On an AMD RX 6700 XT (Windows) they made
agc_driver_sample_orderandagc_driver_sample_order_recipe_depth_locationsfail. On lavapipe those tests pass, but the same errors are logged.VUID-VkImageMemoryBarrier-image-03320(driver)VK_FORMAT_D32_SFLOAT_S8_UINT.separateDepthStencilLayoutsis not enabled, so the transitions now include the stencil aspect whenever the host format has one:UNDEFINED→GENERALtransition of a newDepthSurfaceSampleOrder.cppVUID-VkWriteDescriptorSet-descriptorType-00337(test)DepthSurfaceOrderTarget(...).viewas a sampled image. That is the surface's attachment view. When the driver samples through its sample shadow, the image is created withoutVK_IMAGE_USAGE_SAMPLED_BIT.SAMPLED | TRANSFER_DSTusage, at the same sample count, and sample that.1.0759e33).Tested
ctest -R sample_order -VwithANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation.mainlogs 03320 and 00337. The change logs neither, and all tests pass or skip as onmain.main(b7d1d47) and on this change.ctest -Von the focused setsample_order|native_multisample_depth|depth(35 tests): 32 passed onmain, 34 pass with the change.agc_driver_sample_order: failed onmain, passes with the change.agc_driver_sample_order_recipe_depth_locations: failed onmain, passes with the change.agc_driver_sample_order_grid_referencestill fails as onmain:[device-fault] read invalid at 0x200000000, thenVK_ERROR_DEVICE_LOST, with oneVUID-VkSubmitInfo-pSignalSemaphores-03242. That is a separate fault and is left for a follow-up.main→ change:033206 → 0 and003377 → 0. No new VUID appears.agc|shader|videoset (931 tests): 5 failures onmain, 3 with the change (the grid-reference test above, plusagc_driver_image_array_window_past_layer_limitandagc_driver_tessellation, both unrelated and unchanged).mainat 093149c. None of the three new commits touch these files. After the rebase, the lavapipe run was repeated with the same result.python3 tools/check_conventions.py --base origin/mainpasses.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)🤖 Generated with Claude Code
https://claude.ai/code/session_015C6HgEib8H1FTuXHk5SjKa