Implement handling for texture cache flickering

This commit is contained in:
CamilleLaVey 2025-11-08 16:13:24 -04:00 committed by lizzie
parent 52b630dfdc
commit 6a62fa7ee3

View file

@ -1540,8 +1540,8 @@ ImageId TextureCache<P>::JoinImages(const ImageInfo& info, GPUVAddr gpu_addr, DA
new_image.modification_tick = overlap.modification_tick; new_image.modification_tick = overlap.modification_tick;
} else { } else {
// If we cannot determine a base mapping, fallback to preserving the // If we cannot determine a base mapping, fallback to preserving the
// overlap (avoid deleting GPU-modified data) and log the event so // overlap (avoid deleting GPU-modified data) and log the event so it can be
// it can be investigated, we're trying to pinpoint the issue of texture flickering. // investigated, we're trying to pinpoint the issue of texture flickering.
LOG_WARNING(HW_GPU, "Could not map overlap gpu_addr {:#x} into new image; preserving overlap", u64(overlap.gpu_addr)); LOG_WARNING(HW_GPU, "Could not map overlap gpu_addr {:#x} into new image; preserving overlap", u64(overlap.gpu_addr));
continue; continue;
} }