pixel_aot: lower wave32 masked regions #2154
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!2154
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2154/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?
@tedin7 on GitHub · 2026-11-25 01:48 UTC · original
tedin7:x2w-2137-pixel-aot-wave32-masked→main· +257 −23 · 4 files · 1 commits · closed without mergingPart of #2137
What this unblocks:
pixel_aotlowers wave32 masked regions (s_and_saveexec_b32,s_mov_b32/s_or_b32closes,s_andn2_b32else,s_cbranch_execzskips) to the same HLSL as the wave64 originals.Everything is gated on
wave_size=32. Other profiles keep today's refusal. A region accepts only the close, else and skip target of its own width. An untracked or pair condition, a pending load on the save register, a non-entry mask, a wrong close register and an SCC reader after a close are refused.Also:
tests/form_coverage_check.pymovess_and_saveexec_b32from rejected to masked forms.docs/experiments.mddocuments the wave32 spellings.Verification:
python3 -B tests/pixel_aot_check.py: pass (includes newcheck_masked_wave32_controls, HLSL equality with wave64 and refusal controls)python3 -B tests/form_coverage_check.py: passpython3 -B tests/docs_links_check.py: passpython3 -B tests/rdna2_tools_check.py: passpixel_aot_exec_regions_{warp,hardware}WARP/hardware draws (wave32 variants and mutants added tocheck_masked_drawandcheck_masked_else_draw) and the LLVM round trip (no llvm-mc here). Needs Win2025 before Ready.AI-assisted; commands listed were executed locally.
@R0Y00 on GitHub · 2026-11-25 02:17 UTC · original
Thanks for checking this profile independently. The original #2137 implementation landed in #2163 (
c93c09dc). It covers the same wave32 forms, the wrong-width and wrong-register refusals, and SCC readers after either close. I also ran the paired wave32/wave64 draws and mutations on WARP and RTX 4060 Laptop. Closing this draft as superseded. Any distinct regression you find is welcome as a focused follow-up.Pull request closed