shader: lower gfx1030 four-sample image_msaa_load #1444
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!1444
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1444/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 11:37 UTC · original
stan495:codex/gfx1030-mimg-msaa-load→main· +361 −8 · 11 files · 1 commits · merged 2026-11-24 12:02 UTCSummary
Lower gfx1030
image_msaa_loadfor a 2D, four-sampleR32_UINTSRV. The profile supports contiguous 32-bit x/y/fragment address registers, a statically zero fragment ID,dmask:0xf, andunorm. It returns sample IDs 0–3 in order, including when address and destination VGPRs alias. Descriptor provenance andlgkmcnt(0)/vmcnt(0)readiness are checked. Other dimensions, masks, fragment IDs, packed operands, NSA and unsupported flags are rejected.Verification
Tested clean head
ff2297cc7f045719bc6fdbb626ebf8715a4caa1c.CTest: 18 passed, 0 failed, 0 skipped. The four-sample texture is rendered from source and the translated DXIL is dispatched. The independent CPU reference checks all 320 UAV words, including 64 untouched words. The same run's JUnit and form records report 12/111 gfx1030 MIMG mnemonics in this compute subset, including
image_msaa_load.Both backends detected the mutated entry points: repeated sample zero first differed at word 1 (
91010000expected,91000000actual), reversed samples at word 0 (91000000/91030000), and exchanged coordinates at word 4 (91000001/91000100). Rejection cases also cover a premature result read, a nonzero or variable fragment ID, and unverified operands and flags.Windows 11 build
26300.9974, Microsoft Basic Render Driver (WARP)10.0.26100.9818, and Intel Arc B39032.0.101.8509. The debug layer was unavailable on both backends.LLVM 15 assembles and disassembles the gfx1030 source, then the container CLI translates it successfully.
git diff --check HEAD^passed.git merge-tree --write-tree origin/main HEADsucceeded against upstream5bfafce2cf75bc246643dbf0fbdacdc9e50226e1.