Test ray-box intersections across two backing pages on WARP #33
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by ryotdev on 2026-11-24T20:39:47Z.
A 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.
Imported from fxceless/victory-fork. Originally posted by adriaespii on 2026-11-24T21:04:09Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.