Test ray-box intersections across two backing pages on WARP #33
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!33
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-33"
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?
@ryotdev on GitHub · 2026-11-24 20:39 UTC · original
ryotdev:codex/bvh-cross-page-warp→main· +102 −2 · 2 files · 1 commits · openA double-width FP32 box node can straddle two 64 KiB game-memory pages. The existing emitted-shader tests keep the node in a single backing buffer, so they can pass if the second lookup accidentally reuses the first page.
This test binds two separate backing resources through the production page directory. Child 3 has its ID on the first page and its bounds on the second. It checks a hit, moves just the second-page bounds off the ray, and checks a miss against the CPU reference. The test harness gains initialized raw UAVs and a root UAV binding for the fault buffer.
Verified on Windows with the Microsoft WARP software adapter, shader model 6.6. Forcing both reads to use the first backing resource made the hit case fail. Restoring the second lookup passed. The targeted suites passed 15 CPU reference tests and 7 emitted-shader tests. The asset-policy check passed. This is synthetic coverage for address translation. In-game lighting remains unverified.
To run the new opt-in case:
AI-assisted.
@adriaespii on GitHub · 2026-11-24 21:04 UTC · original
Independent test run on commit
82c00f9(AMD RDNA4):x86_64-pc-windows-msvc)cargo clippy --workspace --all-targets -- -D warnings: 0 warningscargo test --workspace: 496 passed, 0 failed, 8 ignored (victory-shader: 210 passed, 0 failed, 3 ignored;victory-gpu: 110 passed, 0 failed, 1 ignored)--ignoredtests and live game run (no game files on this machine)AI use: Antigravity (Gemini 4 Neon) ran clippy/tests locally and wrote this report.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.