From 4d1579acbf60ff23f14b591db762267f93092d0c Mon Sep 17 00:00:00 2001 From: gdkchan <gab.dark.100@gmail.com> Date: Wed, 3 May 2023 21:20:12 -0300 Subject: Fix some invalid blits involving depth textures (#4723) --- src/Ryujinx.Graphics.Gpu/Image/Texture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Ryujinx.Graphics.Gpu/Image/Texture.cs') diff --git a/src/Ryujinx.Graphics.Gpu/Image/Texture.cs b/src/Ryujinx.Graphics.Gpu/Image/Texture.cs index 6c9de8d6..0427d09b 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -1118,7 +1118,7 @@ namespace Ryujinx.Graphics.Gpu.Image { bool forSampler = (flags & TextureSearchFlags.ForSampler) != 0; - TextureMatchQuality matchQuality = TextureCompatibility.FormatMatches(Info, info, forSampler, (flags & TextureSearchFlags.ForCopy) != 0); + TextureMatchQuality matchQuality = TextureCompatibility.FormatMatches(Info, info, forSampler, (flags & TextureSearchFlags.DepthAlias) != 0); if (matchQuality == TextureMatchQuality.NoMatch) { -- cgit v1.2.3-70-g09d2