aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/FormatTable.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-03-14 23:42:08 -0300
committerGitHub <noreply@github.com>2022-03-15 03:42:08 +0100
commite5ad1dfa48590685fd93443a2adfd8568f6c1db0 (patch)
tree4810662b088d4f553a25f293778f39861fb0326d /Ryujinx.Graphics.Gpu/Image/FormatTable.cs
parent79becc4b78bd8a8402cc86a96c812cb8ac9d027a (diff)
Implement S8D24 texture format and tweak depth range detection (#2458)1.1.74
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/FormatTable.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/FormatTable.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/FormatTable.cs b/Ryujinx.Graphics.Gpu/Image/FormatTable.cs
index 3c97e2e2..e5a4badc 100644
--- a/Ryujinx.Graphics.Gpu/Image/FormatTable.cs
+++ b/Ryujinx.Graphics.Gpu/Image/FormatTable.cs
@@ -55,6 +55,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{ 0x24a0e, new FormatInfo(Format.D24UnormS8Uint, 1, 1, 4, 2) },
{ 0x24a29, new FormatInfo(Format.D24UnormS8Uint, 1, 1, 4, 2) },
{ 0x48a29, new FormatInfo(Format.D24UnormS8Uint, 1, 1, 4, 2) },
+ { 0x4912b, new FormatInfo(Format.S8UintD24Unorm, 1, 1, 4, 2) },
{ 0x25385, new FormatInfo(Format.D32FloatS8Uint, 1, 1, 8, 2) },
{ 0x253b0, new FormatInfo(Format.D32FloatS8Uint, 1, 1, 8, 2) },
{ 0xa4908, new FormatInfo(Format.R8G8B8A8Srgb, 1, 1, 4, 4) },