Repository navigation
Tests: verify RDNA2 BVH box16, paired triangles, and scene edge cases - #1554
amazedturnip wants to merge 1 commit into
Conversation
Add integration contract tests for xcl::gpu::bvh covering box16 half-float decoding and sort=false ordering, paired-triangle leaves (type 0 + bit 7 -> type 1) with @60 barycentric rotation bits, unknown node types, behind-ray/tmax culling, and trace_scene missing-BLAS handling.
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Independent desktop NVIDIA verification of PR #1554 at head Environment
Targeted tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --test bvh_contract -- --nocapture (3 consecutive runs) |
6 passed; 0 failed; 0 ignored; 0 filtered out × 3 (0.00s, 0.00s, 0.00s, 0 skipped; box16_half_float_decoding_and_sort_order, box16_root_traversal_reaches_triangle_leaf, paired_triangle_leaf_traversal_and_disable_flag, triangle_barycentric_rotation_bits_at_60, unknown_node_types_and_culling_boundaries, trace_scene_skips_missing_blas_and_prebuild_size_scales) |
cargo build --release -p xcl |
Clean build (1m 02s --test compile + 0.08s incremental --release build, exit 0, 0 new warnings) |
Paired quiet 60 s retail smoke (title: 29640639)
(Note: scripts/smoke.ps1 at 9e3831e1 predates 9683e7a6 and printed the local folder basename on title:; replaced below with the standard 9683e7a6 title hash 29640639, with all measured fields verbatim.)
Exact parent & merge-base (9e3831e1f570d3646e53ab753b19ec07eb8f1485):
xcl-smoke v1
commit: 9e3831e1f570d3646e53ab753b19ec07eb8f1485
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1549 (PresentX 1549)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14715 MB
PR #1554 (f4c7bba3ed20aa968a54e0394a5d069c26b65956):
xcl-smoke v1
commit: f4c7bba3ed20aa968a54e0394a5d069c26b65956
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1600 (PresentX 1600)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14712 MB
Limits of coverage
- This PR is test-only (
crates/xcl/tests/bvh_contract.rs,0production-code changes); all6/6CPU-side BVH contract tests passed3/3(0skipped). - The 60 s retail smoke confirms non-regression of the unchanged runtime binary at this commit (single-run frame/commit delta vs. parent reflects normal startup variance, not this PR).
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
|
merge-check claim |
|
merge-check |
|
merge-check claim |
|
merge-check |
|
Test-only, new AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Add integration contract tests for
xcl::gpu::bvhcovering RDNA2 traversal paths not exercised by the inline unit tests: box16 (type 4) half-float AABB decoding and sort order, paired-triangle leaves (type 0 bit 7 -> type 1),@60barycentric vertex rotation bits, unknown node types,t < 0/tmaxculling boundaries, andBvh::trace_sceneskipping instances with missing BLASes.What is in it
crates/xcl/tests/bvh_contract.rs: add integration contract tests forxcl::gpu::bvhcovering box16 (type 4) half-float AABB decoding andsort=false/sort=trueordering, box16 root traversal, paired-triangle leaves (type 0 with bit 7 set -> type 1) and@60barycentric rotation bits, unknown node types returningINVALID, empty/non-empty behind-ray andtmaxculling boundaries, andBvh::trace_sceneskipping instances whoseblas()callback returnsNone.Tested
AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64),XCL_ADAPTER=radeon):cargo test --workspace -- --test-threads=2— 782 passed, 0 failed, 41 ignored (SKIPPED GPU tests: 1 (no heap windows))Not tested
AI use