diff options
author | gdkchan <gab.dark.100@gmail.com> | 2024-04-09 14:03:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 14:03:55 -0300 |
commit | 80201466ae097fafb1b2a4b32dde98ce3ed3932c (patch) | |
tree | 5683ab8876eb61f75c185bc249263f4a05d13f37 | |
parent | 7a971edb577c64b178ef7a82de3e9e34ba74755c (diff) |
Fast D32S8 2D depth texture copy (#6636)1.1.1270
-rw-r--r-- | src/Ryujinx.Graphics.Gpu/Image/TextureCompatibility.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureCompatibility.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureCompatibility.cs index 5b930fa4..3cdeac9c 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/TextureCompatibility.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/TextureCompatibility.cs @@ -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; |