shader: lower private strided paired LDS accesses #936
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!936
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/936/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:55 UTC · original
stan495:codex/gfx1030-ds-read2st64-b32→main· +291 −18 · 4 files · 12 commits · merged 2026-11-23 19:08 UTCScope
Lower the paired stride-64 LDS reads and writes for dwords and qwords, together with the returning dword exchange. The two planes must fit the LDS binding, start at or above byte 512, and have one element width per kernel. The dword exchange preserves both old values and captures sources even when the return registers alias them.
Verification
Tested
6063edeon Windows 11 25H2 (10.0.26200.9974) with the D3D12 debug layer enabled. Hardware used AMD Radeon RX 7900 XTX (32.0.32029.2010). WARP used Microsoft Basic Render Driver (10.0.26100.9818).9 passed, 0 failed and 0 skipped. The strided fixtures compared 320 UAV words on both backends after one and two groups. Swapping the qword read offsets produced the expected first mismatch at word 0 (
12345678expected,76543210observed).LLVM 15.0.7 round trips passed and the coverage records include all five new forms.
@R0Y00 on GitHub · 2026-11-23 18:52 UTC · original
I combined your updated strided candidate with the tested #929 commit, retaining all the packed, arithmetic and replacement groups and keeping strided as its own test. LLVM 15 passed the full binary selection. The ten targeted Windows CTests passed on WARP and RTX 4060 Laptop (32.0.16.1656, debug layer enabled), including the 320-word strided readbacks and wrong-offset controls. This branch can run CI now and still merges after #929.