diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 21:28:25 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 21:28:25 -0500 |
| commit | 266f335dda39d8807f6ee5f44e89d5514d85ee8a (patch) | |
| tree | b7c82344b9c9d94c6ba97b60ff71ad79d544d74e /runtime/src/thread_stacks.cpp | |
| parent | 861bb0546e0fa11f22b6550e576fa21ed9b445b5 (diff) | |
d3d12: a retired geometry view invalidates the answers it made without an alias
forget_geometry_alias only removed the view's alias ranges. vsharp_address and
placed views take geometry_va() answers straight from GeometryViews, with no
alias entry, so a retirement left the console heap slots translated through
them, and the GPU key table's entries, pointing at the view after its reap.
TitleVaAliases::forget_copy records the retired view as a removal: its title
range (CPU address and GPU twin) goes into changed_ranges with an invalidations
bump, so the console heaps translate those slots again, and its shader VA into
take_removed, so the GPU key table drops answers into it. That is what remove()
does for a range that has an alias; recording the answers instead would cost a
table entry per answer on the hot path, while this costs one entry per
retirement. The retirement runs before refresh_shadows() (previous commit), so
the submission about to run already translates without the view.
pool_spans keeps a retired view's shader_va, but only for its statistics line;
nothing answers from it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions