shader cache: Fix invalid virtual address clean up (#1717)
* shader cache: Fix invalid virtual address clean up This fix an issue causing the virtual address of texture descriptors to not be cleaned up when caching and instead cleaning texture format and swizzle. This should fix duplicate high duplication in the cache for certain games and possible texture corruption issues. **THIS WILL INVALIDATE ALL SHADER CACHE LEVELS CONSIDERING THE NATURE OF THE ISSUE** * shader cache: Address gdk's comment
This commit is contained in:
@ -8,7 +8,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
||||
{
|
||||
public abstract T MemoryRead<T>(ulong address) where T : unmanaged;
|
||||
|
||||
public abstract Image.TextureDescriptor GetTextureDescriptor(int handle);
|
||||
public abstract ITextureDescriptor GetTextureDescriptor(int handle);
|
||||
|
||||
/// <summary>
|
||||
/// Queries texture format information, for shaders using image load or store.
|
||||
|
Reference in New Issue
Block a user