Repository navigation
Conversation
Move raw fault writes into the missing-page path. Keep masked lanes out of the fault buffer and use the continuation block for raw accesses and wide BVH nodes.
|
In-game numbers for this idea on real hardware. I measured my own implementation of the same change (the fault store guarded on Setup
Card time per binding, before → after
A pitfall worth checking here Not tested
|
Summary
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.