mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-17 20:26:39 +00:00
Fast D32S8 2D depth texture copy (#6636)
This commit is contained in:
parent
7a971edb57
commit
80201466ae
1 changed files with 4 additions and 0 deletions
|
@ -247,6 +247,10 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue