textures: invalidate stencil links on CPU writes

This commit is contained in:
nmzik
2026-09-06 09:38:22 +04:00
parent 211242452b
commit 4735359466
2 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -1859,7 +1859,7 @@ void TextureCache::InvalidateCpuAliases(uint64_t address, uint64_t size) {
const auto page_end = (address + size + TRACKER_PAGE_SIZE - 1) & ~(TRACKER_PAGE_SIZE - 1);
for (const auto id: FindImagesInRegion(address, size, true)) {
auto owner = m_slot_images.try_get(id);
if (owner == nullptr || owner->depth_id) {
if (owner == nullptr) {
continue;
}
if (owner->Overlaps(address, size)) {