diff options
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs index 8e64ca61..0834d7ac 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs @@ -408,6 +408,12 @@ namespace Ryujinx.Graphics.Gpu.Image return false; } + if (info.Width < 8 || info.Height < 8) + { + // Discount textures with small dimensions. + return false; + } + if (!(info.FormatInfo.Format.IsDepthOrStencil() || info.FormatInfo.Components == 1)) { // Discount square textures that aren't depth-stencil like. (excludes game textures, cubemap faces, most 3D texture LUT, texture atlas) |
