diff options
author | gdkchan <gab.dark.100@gmail.com> | 2024-02-15 19:06:26 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 19:06:26 -0300 |
commit | e37735ed2630a807c709d2d3e2099f6c1f2b10fe (patch) | |
tree | f6a85a9361c0e340551154b72b335e5bb81dcaf5 /src/Ryujinx.Graphics.Vulkan/TextureStorage.cs | |
parent | 74a18b7c1820ae2094894cd2108c8c3a9bc03260 (diff) |
Implement X8Z24 texture format (#6315)1.1.1197
Diffstat (limited to 'src/Ryujinx.Graphics.Vulkan/TextureStorage.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Vulkan/TextureStorage.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/TextureStorage.cs b/src/Ryujinx.Graphics.Vulkan/TextureStorage.cs index b763fa98..bba65921 100644 --- a/src/Ryujinx.Graphics.Vulkan/TextureStorage.cs +++ b/src/Ryujinx.Graphics.Vulkan/TextureStorage.cs @@ -154,9 +154,8 @@ namespace Ryujinx.Graphics.Vulkan { Format.S8Uint => Format.R8Unorm, Format.D16Unorm => Format.R16Unorm, - Format.S8UintD24Unorm => Format.R8G8B8A8Unorm, + Format.D24UnormS8Uint or Format.S8UintD24Unorm or Format.X8UintD24Unorm => Format.R8G8B8A8Unorm, Format.D32Float => Format.R32Float, - Format.D24UnormS8Uint => Format.R8G8B8A8Unorm, Format.D32FloatS8Uint => Format.R32G32Float, _ => throw new ArgumentException($"\"{format}\" is not a supported depth or stencil format."), }; |