diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-02-08 10:19:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 14:19:43 +0100 |
commit | 26bf13a65d6689601593a8050970d6835fd9dfe2 (patch) | |
tree | c9ff9bd67a82728f3dc46b6175ac7eb1df38d2f2 /Ryujinx.Graphics.Gpu/Image/Texture.cs | |
parent | 96cf242bcf168b9f9e6a1e27200529466217f396 (diff) |
Limit texture cache based on total texture size (#4350)1.1.606
* Limit texture cache based on total texture size
* Formatting
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index 352a828d..6c0de536 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -1637,13 +1637,6 @@ namespace Ryujinx.Graphics.Gpu.Image } RemoveFromPools(true); - - // We only want to remove if there's no mapped region of the texture that was modified by the GPU, - // otherwise we could lose data. - if (!Group.AnyModified(this)) - { - _physicalMemory.TextureCache.QueueAutoDeleteCacheRemoval(this); - } } /// <summary> |