shader: lower gfx1030 image atomic integer min and max #1504
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!1504
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1504/head"
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?
@stan495 on GitHub · 2026-11-24 13:15 UTC · original
stan495:codex/gfx1030-mimg-atomic-minmax-upstream→main· +119 −45 · 6 files · 1 commits · merged 2026-11-24 13:28 UTCSummary
Builds on the merged arithmetic and bitwise support from #1485. Only the signed and unsigned min/max behavior is included. Replaces stan495/Xbox2Windows#13.
Lower non-returning gfx1030
image_atomic_smin,image_atomic_smax,image_atomic_umin, andimage_atomic_umaxon a scalar mip-zero 2D UAV. Signed forms requireR32_SINT; unsigned forms requireR32_UINT. The fixture uses min/max-specific D3D12 format capability checks and does not require those capabilities for the existing arithmetic and bitwise suite. Exchange, compare-exchange, counters, float atomics, and returned values are outside this PR.Verification
Tested clean head
1b7b2c06be0586be5fb8c53bfdf4fc8500fc3c05on upstream base1a1d58e2bda671826e84abbfee0342007f5163e2.CTest: 23 passed, 0 failed, 0 skipped. Each adapter ran all four operations at one and two group counts, comparing all 336 words of the three mip levels against a CPU reference. Each signedness mutation with its matching UAV type first differs at mip 0, word 33:
sminandumaxexpected80000011but got7ffffff0;smaxanduminexpected7ffffff0but got80000011. The rejections include incorrect view format, mip, data mask/shape, descriptor provenance and readiness, and flags or operations outside the tested profile. Both passing min/max records contain exactly the four new forms. This compute run covers 21/111 gfx1030 MIMG mnemonics.Windows 11 build
26300.9974; Intel Arc B39032.0.101.8509; Microsoft WARP10.0.26100.9818. Debug layer unavailable on both backends.LLVM 15 assembly, disassembly and synthetic-container CLI round trips passed.
git diff --check origin/main...HEADpassed.git merge-tree --write-tree refs/remotes/origin/main HEADpassed againstccd6fb040956d016f58420ef588e3122ee2bf63f. A separate simulation applied explicit-gradient sampling first and also merged cleanly. Neither simulation is an integrated execution run.