summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-06-29 11:58:45 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-06-29 11:58:45 +0200
commitb62121fd605663dc9aaaae72fe8e444312f9c5d5 (patch)
treeeeea267ef92d6d652ffee86a812598b4dc14a722 /src/video_core/texture_cache
parentMerge pull request #10837 from liamwhite/mali-support (diff)
downloadyuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.tar
yuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.tar.gz
yuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.tar.bz2
yuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.tar.lz
yuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.tar.xz
yuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.tar.zst
yuzu-b62121fd605663dc9aaaae72fe8e444312f9c5d5.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index d3f03a995..485f6b6f3 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -598,14 +598,6 @@ void TextureCache<P>::UnmapGPUMemory(size_t as_id, GPUVAddr gpu_addr, size_t siz
[&](ImageId id, Image&) { deleted_images.push_back(id); });
for (const ImageId id : deleted_images) {
Image& image = slot_images[id];
- if (True(image.flags & ImageFlagBits::CpuModified)) {
- return;
- }
- image.flags |= ImageFlagBits::CpuModified;
- if (True(image.flags & ImageFlagBits::Tracked)) {
- UntrackImage(image, id);
- }
- /*
if (True(image.flags & ImageFlagBits::Remapped)) {
continue;
}
@@ -613,7 +605,6 @@ void TextureCache<P>::UnmapGPUMemory(size_t as_id, GPUVAddr gpu_addr, size_t siz
if (True(image.flags & ImageFlagBits::Tracked)) {
UntrackImage(image, id);
}
- */
}
}