shader: lower wide private LDS transfers #925
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!925
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/925/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?
@stan495 on GitHub · 2026-11-23 17:23 UTC · original
stan495:codex/gfx1030-ds-read-b64→main· +127 −2 · 3 files · 5 commits · merged 2026-11-23 18:17 UTCScope
Lower
ds_write_b64,ds_read_b64,ds_write_b96,ds_read_b96andds_read2_b32for a proven private 16-byte record atlocal_x << 4. Require 512 bytes of LDS, initialized read slots and an immediate LDS wait. Reject mixed scalar and wide address strides because the regions could overlap across lanes.Verification
Tested
d686d24on Windows 11 25H2 (10.0.26200.9974). WARP used Microsoft Basic Render Driver 10.0.26100.9818. Hardware used AMD Radeon RX 7900 XTX with driver 32.0.32029.2010. The D3D12 debug layer was enabled.7 passed, 0 failed and 0 skipped. Both backends matched the CPU reference for the entire 320-word UAV after one and three groups. Reading the wrong qword, clearing a source word and swapping dual-read offsets each changed the comparison at word 0.
LLVM 15.0.7 assembled and decoded the fixtures, and both translation paths reproduced the same HLSL. The records count all five added DS forms.