aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-11-01 15:17:29 -0300
committerGitHub <noreply@github.com>2020-11-01 15:17:29 -0300
commit876fa656f6f94e11517571924d699a2451b00288 (patch)
treeca36861209544ae61998c62e1d5c292f091ee571 /Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs
parentb5a760bde92df53714907d65cb7826ecb9b00d6a (diff)
Remove unused texture and sampler pool invalidation code (#1648)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs b/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs
index 2e5c2b5d..268cec38 100644
--- a/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs
@@ -72,20 +72,5 @@ namespace Ryujinx.Graphics.Gpu.Image
return pool;
}
-
- /// <summary>
- /// Invalidates a memory range of all intersecting texture pools on the cache.
- /// </summary>
- /// <param name="address">Start address of the range to invalidate</param>
- /// <param name="size">Size of the range to invalidate</param>
- public void InvalidateRange(ulong address, ulong size)
- {
- for (LinkedListNode<TexturePool> node = _pools.First; node != null; node = node.Next)
- {
- TexturePool pool = node.Value;
-
- pool.InvalidateRange(address, size);
- }
- }
}
} \ No newline at end of file