shader: route general DPP permutations with integer masks #1030
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!1030
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1030/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?
@R0Y00 on GitHub · 2026-11-23 22:10 UTC · original
R0Y00:codex/quad-dpp-bit-mask→main· +8 −1 · 2 files · 1 commits · merged 2026-11-23 22:33 UTCRefs #1024.
General quad permutations now select the same four fixed-index quad reads with integer masks. Identity, fixed swaps and broadcast keep their existing emission. This preserves the strict test outputs and does not choose a path by adapter.
The two RDNA 4 reports show a uniform word becoming zero after the lane-dependent ternary. Rebuilding a focused shader with the masks produces four constant-index DXIL quad reads and no select or conditional branch. The driver result still needs independent AMD verification.
Local checks on source-built inputs:
python -B tests/pixel_aot_check.pyand the fullbinarymode with LLVM 15 pass.python -B tests/pixel_aot_check.py draw-dpp-extra <dxc> <offscreen_check> <warp|hardware>passed on in-box WARP and RTX 4060 Laptop. The existing wrap and varying-lane controls ran.check_dpp_int32_drawruns. The bit selection formula was also checked for every permutation over four lanes on the CPU.For AMD verification, build
offscreen_checkand runctest --preset release --no-tests=error -R '^pixel_aot_dpp_extra_hardware$' -V. Compare the original and this candidate using the same adapter and driver. Report the full-buffer result, DXC version and whether the original still reproduces.@lantiumBot on GitHub · 2026-11-23 22:44 UTC · original
Follow-up to the #1024 check: all 49
pixel_aotdraw modes on the RX 9060 XT (driver 32.0.32029.2010), one run each, with the translator from364eb996and from its parentee04692. Same renderer build for both; nooffscreen_checksource differs between them.364eb996: 48 pass, 1 fail (pixel_aot_comparisons, the #958 row).ee04692: 47 pass, 2 fail (pixel_aot_comparisonsandpixel_aot_dpp_extra).So on this adapter the change fixes
pixel_aot_dpp_extraand no other draw mode changes verdict. Hardware only, one run per mode, debug layer unavailable; the 49 modes were not rerun on WARP.AI-assisted (Claude Code - Fable 5.2); runs executed locally on the adapter above.