upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 21:28:25 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 21:28:25 -0500
commit266f335dda39d8807f6ee5f44e89d5514d85ee8a (patch)
treeb7c82344b9c9d94c6ba97b60ff71ad79d544d74e /runtime/test/tiny_game_exit_code_test.cpp
parent861bb0546e0fa11f22b6550e576fa21ed9b445b5 (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/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions