diff options
| author | d7ommy <abnalstlll@gmail.com> | 2026-11-25 19:16:01 +0300 |
|---|---|---|
| committer | d7ommy <abnalstlll@gmail.com> | 2026-11-25 22:30:44 +0300 |
| commit | cb1cb86e9298de6f64f76fb5c627c96df9d3ffc9 (patch) | |
| tree | ba274708c4dd9c2adfb2b3824f0c5d4658c3c524 /runtime/shims/d3d12_com.cpp | |
| parent | 07e89b19358a9c79c1942e71fa4f37231621dabe (diff) | |
xbox_bvh_builder: rebuild from geometry and refuse source-only rehydration (RT-XDXR-BVH-REHYDRATE-BATCHED2X)
Addresses review feedback on #1759 from @aslan2142 and @Tyrannys:
- RehydrateRaytracingAccelerationStructureBatched2X now rebuilds structures
exclusively from geometry (docs/bvh.md §4a).
- Offline console dehydrated streams cannot be directly deserialized by
PC D3D12/Vulkan drivers (docs/bvh.md §4/§4a). When source_data is present
without geometry descs, the shim logs once and refuses with E_NOTIMPL.
- Documented in docs/xdxr.md that the 4th parameter (const UINT64* source_data)
is a hypothesis denoting offline console stream pointers.
- Empty structures (NumDescs == 0 without source) are logged once and skipped.
- Updated runtime/test/xbox_bvh_builder_test.cpp and tests/test_xbox_bvh_builder_rehydrate.py
to verify refusal of source-only streams (E_NOTIMPL) and handling of empty structures.
AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
0 files changed, 0 insertions, 0 deletions