Skip page faults for unread BVH nodes #2108
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2108"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Ondra97 on 2026-11-29T09:33:51Z.
What it changes
The ray-tracing node instruction returns four all-ones dwords for instance and procedural node kinds without reading their data. The raw-address lowering still reported absent pages for those lanes. The host could then provision a 64 KiB page for a read that never happened.
Limit missing-page reports to active triangle and box lanes.
How it was tested
829188e9reported four pages on RTX. The patch reports the two required pages on both adapters in both the 32-bit and 64-bit instruction forms. The box, triangle, instance, procedural and masked-lane outputs match their expected dwords.VICTORY_MEMORY_NEAR=0. Both Windows release builds, staged asset policy and whitespace checks passed. Local tests ran on stable Rust 1.100.0 because the installed pinned toolchain has no working Cargo.main(55d06914) stops on the existingunwind_copyClippy error. The CI restoration in #2620 passed both Clippy gates and the full workspace suite and is open for maintainer review. Locally, the three BCPack oracle failures and the full-tree asset-policy failure reproduce on clean829188e9. The standalone complete shader suite was stopped to free the GPU for the smoke tests after 259 passes and nine skips.f06505ea) with Windows Rust 1.98.1. All 11 intersection tests and 16 CPU BVH reference tests passed. RTX and WARP both reported the two required pages in the 32-bit and 64-bit forms. The targeted case also passed withVICTORY_MEMORY_NEAR=0.Checked for overlap
bvh_missin the same file. #2095 changes host-side reclamation after packed structures shrink.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T15:40:07Z.
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with--profile diag --features diagnostics, and the CPU tests of the touched crates pass. Runs on an RTX 4090 are queued (Series X 1440p, and Series S with ray tracing, DLSS Quality). Frame times will follow here.