shader: map s_bitset1_b32 on a root address high word to the stride-one V# #3704
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!3704
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3702"
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?
@lukaslw-lab on GitHub · 2026-12-01 05:09 UTC · original
lukaslw-lab:shader/mesh-root-bitset1-stride→main· +82 −2 · 6 files · 1 commits · merged 2026-12-01 08:44 UTCChange
s_bitset1_b32 <root address high>, 16sets bit 16 of the high address word, the same bit as thes_or_b32 <high>, 0x10000thatbyte_descriptor_fieldalready maps toroot_stride_one_high. It now gets the same symbol, so a raw V# built that way reaches the existing stride-one path (word 20xffffffff, word 30x11014fac).s_bitset1_b32does not write SCC, so the compute and mesh code generators leave SCC unchanged for it instead of setting it to 1 as fors_or_b32. Any other bit, the low word ands_bitset0_b32keepunbound numeric SGPR.This is the first refusal of 24 slot 86 mesh requests on a local capture (#3705); they reach later refusals, listed there. Refs #3643.
Verification
Build
releaseat this branch (Windows 10 19045, MSVC 2022, DXC 1.9.2609):The same 25
_hardwaretests fail on this host without this change (Windows 10 without the Agility SDK; NVIDIA RTX 3080 Ti, driver 32.0.16.1047, debug layer on).Controls:
unbound numeric SGPR s27(mesh) ands5(compute).Evidence and follow-up
Source-built words only. The mesh check compiles the
s_or_b32ands_bitset1_b32forms of the existing root SRV read to byte-identical DXIL and checks that a compare before the stride write reaches ans_cselect_b32after it. Bit 15, the low word ands_bitset0_b32are refused. The compute check covers the same on a compute root descriptor. Note:docs/experiments/native-root-stride-bitset1.md.Follow-ups in #3705: mesh scalar loops (design first),
v_mad_f32,idxen offenraw loads.Checklist
AI-assisted.
🤖 Generated with Claude Code
s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705v_cvt_i32_f32andv_mad_f32in the mesh frontend #3706s_bitset1_b32, then stop at a scalar loop #3705idxen offenraw loads through a reflected table record #3707s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705github-bot referenced this pull request2026-12-01 08:47:18 +00:00
@R0Y00 on GitHub · 2026-12-01 08:43 UTC · original · approved these changes
Reviewed stride-one root descriptor recognition and SCC preservation. The integrated native_direct_container and native_direct_mesh fixtures passed, including the positive and refusal controls.