diff options
| author | CLHelper <359823989+CLHelper@users.noreply.github.com> | 2026-11-22 15:42:26 +0000 |
|---|---|---|
| committer | CLHelper <359823989+CLHelper@users.noreply.github.com> | 2026-11-22 15:42:26 +0000 |
| commit | 4949c204c8228959251615a5d4db4c96aa6100bd (patch) | |
| tree | 846fd4360db67fc8cb75814daf60225a360b8cfe /runtime/src/pe_loader.cpp | |
| parent | 003e78129303643a3fdc9e5f0e31a01b09759236 (diff) | |
docs: XboxBvhBuilder only takes destination addresses below 2^40
The builder's validation function at 0xc8f0 checks the build's
DestAccelerationStructureData twice: the low byte must be 0 (256-byte
alignment, the public D3D12 rule) and the address must be below 2^40
(cmp with 10000000000h). On failure it prints a "D3D12 XDXR Error"
message through OutputDebugStringW and throws E_INVALIDARG as a C++
exception. The 40-bit rule has no PC counterpart. Arena VAs (32-bit)
pass; a VA biased from outside the arena, such as the negative upload-heap
VAs D3D-53 measured, does not. Added next to that measurement.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions