diff options
| author | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-25 00:21:56 -0600 |
|---|---|---|
| committer | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-25 00:21:56 -0600 |
| commit | 6d66718f3efbf799fe2d2e8a853702b72368e832 (patch) | |
| tree | bf953edcbcde9fe77601213f26b3e0a936a828e1 /runtime/src/main.cpp | |
| parent | 42537e7b6f84c233ac009b924d3a25d2a1178197 (diff) | |
d3d12: title memory past the window cap names a zeroed scratch window (RT-TITLE-WINDOW-OVERFLOW)
Past LEONIDA_TITLE_WINDOWS_MB, or with no arena room for a window,
resolve_title_memory handed the GPU the title's raw VA. That names
nothing of the device's, and one read of it lost the device at the
world start (#1537). Reserve 16 MiB + 64 KiB of zero-filled arena with
the first window and point such addresses into it instead: the cost is
a wrong result, not the device. The raw VA is kept only when even the
scratch did not fit (logged once).
d3d12_title_window_cap runs d3d12_title_va_test --window-cap with a cap
of 0: two views of the title's memory name the arena, share the
scratch, and a dispatch through one reads zeros.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions