mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 13:28:35 +00:00
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:
@ -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); });
|
||||
|
||||
Reference in New Issue
Block a user