Shaders: report only missing title-memory pages #308
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/fxceless--victory-fork!308
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-308"
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?
@gomeaw on GitHub · 2026-11-24 23:28 UTC · original
gomeaw:perf/shader-page-fault-writes→main· +21 −13 · 3 files · 1 commits · openSummary
Raw title-memory shaders write a page number into the fault UAV for every lookup. Resident pages and masked lanes write to dword 0, which the host never reads. With many threads traversing the same structures, these writes all target the same address.
Emit the fault store only when an executing lane finds an absent page. Keep the hash and slot for actual faults. Continue from the join before using the resolved view in raw memory instructions or reading a wide BVH node. There is no host binding or configuration change.
This addresses GPU work in the builder and traversal paths discussed in #284. The proposed dirty-page mask in that issue reduces host refresh and copy-back work. This patch also applies cleanly alongside the title-memory watermarks in #205 and both builder changes #156 and #294.
Validation
AI-assisted with Codex. All inputs were synthetic.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.