diff options
| author | romainveurrier <romain.veurrier@gmail.com> | 2026-11-23 19:11:48 +0100 |
|---|---|---|
| committer | romainveurrier <romain.veurrier@gmail.com> | 2026-11-23 19:11:48 +0100 |
| commit | 65a2da200f59f0e300573fe2cd972f8621859e7a (patch) | |
| tree | 2e92f11f759a2475bf2a5f3e15b05dd85d8398a9 /runtime/src/main.cpp | |
| parent | 98c065ca22384048410e95a4ad09779b83c24004 (diff) | |
XboxBvhBuilder shim: unwrap a d3d12_xs proxy before asking a list for its interfaces
From @tupacfan04's review of #7903: on a boot stack with the console list
proxy (#7076), the title's lists are proxies whose QueryInterface answers
only the console and public list IIDs. The shim asked the proxy itself, so a
private interface was refused, and a PC interface it did answer would have
been called through a console-shaped vtable.
d3d12_xs_device exposes real_object_behind_proxy(), the real object behind any
child proxy (proxy_real_object, which a console list proxy joins, as the file
and #7076 say), and the shim asks that real list for
ID3D12GraphicsCommandList4. On main lists aren't wrapped, so nothing changes
there; with #7076 the shim follows its lists without a further change.
docs/xdxr.md: BuildRaytracingAccelerationStructureBatched2X is 6 call
[rip+disp32] sites through the import table; IDA counts 8 direct calls, two
of them in another form (@FJKiXfaR on #7516).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions