0
0
Fork 0

Fast D32S8 2D depth texture copy (#6636)

This commit is contained in:
gdkchan 2024-04-09 14:03:55 -03:00 committed by GitHub
parent 7a971edb57
commit 80201466ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,6 +247,10 @@ namespace Ryujinx.Graphics.Gpu.Image
{ {
return TextureMatchQuality.FormatAlias; return TextureMatchQuality.FormatAlias;
} }
else if (lhs.FormatInfo.Format == Format.D32FloatS8Uint && rhs.FormatInfo.Format == Format.R32G32Float)
{
return TextureMatchQuality.FormatAlias;
}
} }
return lhs.FormatInfo.Format == rhs.FormatInfo.Format ? TextureMatchQuality.Perfect : TextureMatchQuality.NoMatch; return lhs.FormatInfo.Format == rhs.FormatInfo.Format ? TextureMatchQuality.Perfect : TextureMatchQuality.NoMatch;