Files
mandy/runtime/test
Jan Trencansky d0636fc7af title textures: a retired slot-70 texture forgets its address only while it still owns it
A slot-133 texture placed where a slot-70 view had made a texture of the layer's takes the address over
(place_at_title_address); register_title_texture then retires the slot-70 entry, and retire_title_texture erased the
address from images_by_address unconditionally - the placed texture's key. Every T# naming that address found no
texture ("no texture at the T# address: title memory"), the texture was never named, so never filled, and the slot
read the fallback.

forget_image_of(address, owner) erases the address and its views only while `owner` is registered there, under one
descriptor_mutex hold; retire_title_texture and ~Resource use it (the latter checked in two steps before). The views
of the retired texture left when the address was taken over.

d3d12_heap_in_place_test: a slot-70 view, then a slot-133 texture at the same address in a reservation at 16 TiB and
up, named by a T# the title writes into a heap read in place: it binds with the tag and its index, reads the fallback
(index 0, the 1x1 zeros) when the texture goes, and binds again when a texture is placed there again. It failed
(index word 0) before the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:17:20 -05:00
..