Shorten guest-memory descriptor selection for shader writes #232
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/lobomfz--VIctory-xmem!232
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-232"
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?
@tommiehansen on GitHub · 2026-12-02 19:54 UTC · original
tommiehansen:perf/guest-address-lowering→main· +40 −8 · 3 files · 3 commits · merged 2026-12-03 17:22 UTCChange
Guest-address writes use a simpler descriptor selection. An empty directory word identifies a missing page. A signed maximum with zero selects the null UAV for a read-only page. The shader still masks the read-only bit on the read path. Address lookup, fault recording, and memory ordering stay the same.
This removes the read mask from the write path and shortens the integer dependency chain. BVH builder writes and other by-address stores can benefit. The effect on backend ISA and frame time is unmeasured.
Comparison
The new selection removes the read mask from the write path while preserving these outcomes. The standalone directory test covers all 8,191 stated cases; final ISA and GPU-time savings remain unmeasured.
Validation
Please compare shader ISA, BVH build time, image parity, and frame-time tails with ray tracing at native 1080p on both the RX 9060 XT 16 GB and RX 9070 XT under Linux.