From e5ad1dfa48590685fd93443a2adfd8568f6c1db0 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 14 Mar 2022 23:42:08 -0300 Subject: Implement S8D24 texture format and tweak depth range detection (#2458) --- Ryujinx.Graphics.Gpu/Image/TexturePool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Gpu/Image/TexturePool.cs') diff --git a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs index f936615f..10a6ff82 100644 --- a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs +++ b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs @@ -362,7 +362,7 @@ namespace Ryujinx.Graphics.Gpu.Image return DepthStencilMode.Depth; } - if (format == Format.D24X8Unorm || format == Format.D24UnormS8Uint) + if (format == Format.D24UnormS8Uint) { return component == SwizzleComponent.Red ? DepthStencilMode.Stencil -- cgit v1.2.3