xshader: translate DPP16 quad permutations for bitwise operations #142
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!142
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/142/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?
@smith-3 on GitHub · 2026-11-25 04:18 UTC · original
smith-3:codex/dpp16-bitwise-quad-perm→main· +142 −19 · 2 files · 1 commits · merged 2026-11-25 07:26 UTCFix DPP16
quad_permtranslation forv_or_b32,v_and_b32, andv_xor_b32. These instructions can silently use the wrong lane. The fix reads the first operand from the selected lane and combines it with the second operand from the destination lane.The change covers full row and bank masks without source modifiers. With FI cleared, an inactive source supplies zero when BOUND_CTRL is set and preserves the destination otherwise. Pixel shaders with FI cleared require a provable EXEC mask. The regression tests cover both FI and BOUND_CTRL settings and rejection of ambiguous pixel masks.
Synthetic GPU validation on an NVIDIA GeForce RTX 4080 SUPER
Recompiling all 75 cases from this branch reproduced the tested DXIL byte for byte. All five checks in the contribution guide passed locally.
@brcly, could you review the inactive-source handling, especially the pixel EXEC check?
Refs #16.
@copilot-pull-request-reviewer[bot] on GitHub · 2026-11-25 04:18 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.