tie gpu modified regions to rescalable textures

This commit is contained in:
CamilleLaVey 2026-08-28 17:48:39 -04:00 • committed by crueter
parent 7e55b4b563
commit f93e4031ba

View file

@ -1122,7 +1122,8 @@ void TextureCache<P>::RefreshContents(Image& image, ImageId image_id) {
TrackImage(image, image_id);
if (image.info.rescaleable) {
if (image.info.rescaleable &&
IsRegionGpuModified(image.cpu_addr, image.guest_size_bytes)) {
runtime.TransitionImageLayout(image);
return;
}