shader: lower remaining SOP1 *_saveexec_* and *_wrexec_* ops in direct Compute DXIL #3298
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#3298
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@legacy-code-archaeologist on GitHub · 2026-11-28 05:56 UTC · original
The direct Compute DXIL translator lowers
s_and_saveexec_b32,s_or_saveexec_b32, ands_andn2_wrexec_b32for wave32 and the*_saveexec_b64+s_andn2_wrexec_b64family for wave64, leaving the remaining 9 wave32 and 3 wave64 SOP1 EXEC-mask instructions unlowered:SOP1):s_xor_saveexec_b32(0x3e),s_andn2_saveexec_b32(0x3f),s_orn2_saveexec_b32(0x40),s_nand_saveexec_b32(0x41),s_nor_saveexec_b32(0x42),s_xnor_saveexec_b32(0x43),s_andn1_saveexec_b32(0x44),s_orn1_saveexec_b32(0x45), ands_andn1_wrexec_b32(0x46)SOP1):s_andn1_saveexec_b64(0x37),s_orn1_saveexec_b64(0x38), ands_andn1_wrexec_b64(0x39)In addition,
uses_scc_after()insrc/gfx1013_direct_compute.inlandtransfer()insrc/gfx1013_compute_native.cppshould treat all of these (plus the remainings_*_b64mask ops) consistently as numeric SCC/EXEC definitions.Refs #2935.
AI-assisted.
github-bot referenced this issue2026-11-28 06:21:27 +00:00