Remove unused texture and sampler pool invalidation code (#1648)

This commit is contained in:
gdkchan 2020-11-01 15:17:29 -03:00 committed by GitHub
parent b5a760bde9
commit 876fa656f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 67 deletions

View file

@ -394,18 +394,6 @@ namespace Ryujinx.Graphics.Gpu.Image
return (packedId >> 20) & 0xfff;
}
/// <summary>
/// Invalidates a range of memory on all GPU resource pools (both texture and sampler pools).
/// </summary>
/// <param name="address">Start address of the range to invalidate</param>
/// <param name="size">Size of the range to invalidate</param>
public void InvalidatePoolRange(ulong address, ulong size)
{
_samplerPool?.InvalidateRange(address, size);
_texturePoolCache.InvalidateRange(address, size);
}
/// <summary>
/// Force all bound textures and images to be rebound the next time CommitBindings is called.
/// </summary>