summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-01-17 14:22:32 +0100
committerGitHub <noreply@github.com>2020-01-17 14:22:32 +0100
commit657b3a366eb49146f6671357e45d5e688335e3b4 (patch)
tree7d6e7a73d08999d61a51141c71db25fbaa80ae9f /src/video_core/texture_cache
parentMerge pull request #3300 from ReinUsesLisp/vk-texture-cache (diff)
parentformat_lookup_table: Fix ZF32_X24S8 component types (diff)
downloadyuzu-657b3a366eb49146f6671357e45d5e688335e3b4.tar
yuzu-657b3a366eb49146f6671357e45d5e688335e3b4.tar.gz
yuzu-657b3a366eb49146f6671357e45d5e688335e3b4.tar.bz2
yuzu-657b3a366eb49146f6671357e45d5e688335e3b4.tar.lz
yuzu-657b3a366eb49146f6671357e45d5e688335e3b4.tar.xz
yuzu-657b3a366eb49146f6671357e45d5e688335e3b4.tar.zst
yuzu-657b3a366eb49146f6671357e45d5e688335e3b4.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/format_lookup_table.cpp2
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},