d3d12: a write noted by XG or DirectStorage makes the textures over it probe their memory again (RT-TITLE-TEXTURE-WRITE-TRACKED)

A pending stream texture whose first bytes arrive through a noted write (the pending slot-70 views case of
d3d12_existing_heap) kept its cached unreadable answer and was never filled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jan Trencansky
2026-11-26 17:37:49 -05:00
parent 2e16339cd0
commit 8c579b7d41

View File

@ -15531,7 +15531,11 @@ public:
watch.for_each_over(from, to, remapped);
watch.note_changed(from, to);
}
for (const auto& [from, to] : written) watch.note_changed(from, to);
// A noted write (XG, DirectStorage) can be the texture's first bytes: its memory is probed again too.
for (const auto& [from, to] : written) {
watch.for_each_over(from, to, remapped);
watch.note_changed(from, to);
}
}
title_named_.clear();
watch.collect([&](std::uint64_t key) { title_named_.push_back(key); });