direct compute: accept non-indexed buffer atomics through a byte-window raw UAV #3170
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#3170
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Leyukaka on GitHub · 2026-11-27 19:58 UTC · original
Part of #2935 (instruction coverage). Target branch
main. I am taking it.Gap. Direct compute accepts a raw UAV descriptor rewritten into a byte window only for
buffer_store_raw. That is the six-op stride, count and OOB rewrite tracked bybyte_descriptor_field. A non-indexedbuffer_atomic_*through the same rewritten descriptor is refused with "non-contiguous resource descriptor", although the atomic lowering already uses the same raw UAV.Measured on a local capture of 2,689 compute requests (counts and instruction shape only), with
compile_dxil --jobs 8 gfx1013-direct-cs@36 --requestsonmain6057071b:buffer_atomic_add, 3buffer_atomic_umin, 1buffer_atomic_cmpswap.Plan:
Tests: a hardware readback of add (with and without GLC), unsigned min and compare-and-swap through the rewritten descriptor, plus controls for an indexed and a 64-bit atomic.
AI-assisted.