Fix some invalid blits involving depth textures (#4723)
This commit is contained in:
parent
6279f5e430
commit
4d1579acbf
5 changed files with 24 additions and 8 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue