diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 05:38:10 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 05:38:10 -0500 |
| commit | ddf184c2f32b60b4dbeb85c36edce411a469d35a (patch) | |
| tree | e318fb565059555881d8603de972d6def1b30c11 /runtime/test/d3d12_queue_wait_test.cpp | |
| parent | 8f7826117905a4d2149199e1f734a871f10183bd (diff) | |
runtime: Round 10 WS1 — fix bindless GC thrash via evictable console-heap tracking, shared_zero_ dedup & two-phase dead-key sweep
- Track exact live console-heap textures via ConsoleHeapSlotRecords 0<->1 callback under pure leaf live_console_textures_mutex
- Classify non-UAV non-MS !known_heap placed-texture views as evictable when console_heap_count > 0; preserve evictable across PendingImage::keys & publish_streamed_texture()
- Propagate is_zero_view in bind_image_locked() and gate api_owner_address on is_zero_view && console_heap_count==0
- Two-phase GC (Phase 1 dead-key sweep emitting 0 texture_gone, Phase 2 emergency live-LRU only on hard_full) with evictable_views_in_dim O(1) exit, 8192-slot hysteresis, strict retire-ticket & wall-clock cooldown (always stamped on empty candidates)
- Emit SlotChange::texture_room in set_bindless_release() only on 0 -> >0 free-slot transitions
AI-assisted: Antigravity (Gemini 4 Neon).
Diffstat (limited to 'runtime/test/d3d12_queue_wait_test.cpp')
0 files changed, 0 insertions, 0 deletions