Shaders: keep literal select mask bits when lowering local half-waves #277
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/fxceless--victory-fork!277
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-277"
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?
@fluffyflattershy-afk on GitHub · 2026-11-24 23:09 UTC · original
fluffyflattershy-afk:pr/literal-mask-half-wave→main· +57 −5 · 2 files · 1 commits · openChange
A
v_cndmask_b32using a literal 64-bit scalar mask was refused in local half-wave lowering. When console lanes are already mapped, both host waves can use the literal and select the bit at their console lane index. This select requires no group exchange. Computed mask pairs still use the existing refusal.Verification
emit::wave64_testspassed.cargo clippy --locked --offline -p victory-shader --all-targets -- -D warningsandcargo xtask policypassed.AI-assisted with Codex. The test uses only synthetic inputs.
@HAL9000RELOADED on GitHub · 2026-11-25 19:29 UTC · original
RX 7900 XTX (RDNA3), Windows 10 + #402 for SM 6.6, main
d510ee4: the new testlocal_waves_select_their_console_bits_from_a_constant_maskpasses on the card with this PR, and fails with the test alone on the base. No other test changed. Run table: #129 (#129).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.