Repository navigation
Test mixed image types at dynamic offsets and control-flow joins - #1
Open
necrobytes wants to merge 2 commits into
Open
necrobytes wants to merge 2 commits into
necrobytes wants to merge 2 commits into
Conversation
…main)
A UAV read as float and also used by an atomic needs two handles: an
atomic on the float handle is invalid SPIR-V after conversion
("AtomicOr/AtomicUMax: expected Result Type to be integer scalar type")
and crashes NVIDIA's compiler in vkCreateComputePipelines.
Marvisak#177 added the element type to the `handles` key. main has since added
`entry_handles` and `join_handles`, which had the same problem; they are
keyed by both property words now as well. Includes Marvisak#177's test, with
`view_marks` added for the current `Parts`.
Co-authored-by: Ortomanic <360474481+Ortomanic@users.noreply.github.com>
Co-authored-by: gingertonik <91795517+gingertonik@users.noreply.github.com>
andyeox-systemd
force-pushed
the
nvidia-atomic-handles
branch
from
November 26, 2026 03:27
235c48c to
38f3697
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the two regression cases requested in the review of Marvisak/VIctory#2723. I based it directly on
nvidia-atomic-handlesat235c48c6, so merging this commit into that branch adds the tests to the open upstream PR.Both tests load the same image as floats and use it for an unsigned atomic. One computes a uniform descriptor-table offset at run time. The other selects the descriptor across a control-flow join. Each checks that the emitted DXIL carries both resource annotations.
Each failure reported the missing unsigned annotation. All 30 tests in
emit::lower::testspassed under Proton with the Windows GNU test binary. All input instructions in the new tests are synthetic. The staged changes passed the repository asset-policy check.I also ran the full shader suite on an RX 9060 XT under Proton using RADV 26.2.7 and vkd3d-proton 3.2.0.
235c48c6)9aeb2b1)Both builds failed the same two existing host checks.
hosts_that_do_not_fuse_are_namedobserved a different WARP fused-multiply-add result under Proton.stub_pipeline_is_createdfound that vkd3d accepted the all-zero DXIL digest. Six tests in the pass totals returned early because the console SDK compiler was unavailable. I reran the optional PC-DXC case with Microsoft DXC 1.8.2502 and it passed on both builds. Scoped Clippy passed on the Windows GNU and MSVC targets with default features and all features.AI-assisted with Codex.