diff options
author | bunnei <bunneidev@gmail.com> | 2020-01-17 08:22:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-17 08:22:32 -0500 |
commit | 657b3a366eb49146f6671357e45d5e688335e3b4 (patch) | |
tree | 7d6e7a73d08999d61a51141c71db25fbaa80ae9f | |
parent | e041f33569b887bfea757740be9474f3fe5b079f (diff) | |
parent | 0caab54b5d77378eefe3bcf644b0cb6e3f1050de (diff) |
Merge pull request #3311 from ReinUsesLisp/z32fx24s8
format_lookup_table: Fix ZF32_X24S8 component types
-rw-r--r-- | src/video_core/texture_cache/format_lookup_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cpp index 271e67533..81fb9f633 100644 --- a/src/video_core/texture_cache/format_lookup_table.cpp +++ b/src/video_core/texture_cache/format_lookup_table.cpp @@ -95,7 +95,7 @@ constexpr std::array<Table, 74> DefinitionTable = {{ {TextureFormat::ZF32, C, FLOAT, FLOAT, FLOAT, FLOAT, PixelFormat::Z32F}, {TextureFormat::Z16, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::Z16}, {TextureFormat::S8Z24, C, UINT, UNORM, UNORM, UNORM, PixelFormat::S8Z24}, - {TextureFormat::ZF32_X24S8, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::Z32FS8}, + {TextureFormat::ZF32_X24S8, C, FLOAT, UINT, UNORM, UNORM, PixelFormat::Z32FS8}, {TextureFormat::DXT1, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::DXT1}, {TextureFormat::DXT1, S, UNORM, UNORM, UNORM, UNORM, PixelFormat::DXT1_SRGB}, |