diff options
author | Fernando S <fsahmkow27@gmail.com> | 2023-06-30 20:25:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 20:25:09 +0200 |
commit | a10bdaf934431dd0111a4d853df757247d9a7e36 (patch) | |
tree | 8e8bd5addd19af3b10e432ed0422463a379c86be /src/video_core/texture_cache | |
parent | Merge pull request #10956 from FernandoS27/pikmin-another-game-ill-hate (diff) | |
parent | Texture cache: Fix YFC regression due to code testing (diff) | |
download | yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.tar yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.tar.gz yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.tar.bz2 yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.tar.lz yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.tar.xz yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.tar.zst yuzu-a10bdaf934431dd0111a4d853df757247d9a7e36.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 9 |
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 0330415b7..8190f3ba1 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); } - */ } } |