diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-28 22:08:44 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-28 22:16:07 +0200 |
commit | fc153f6bcd9884064eb2752fc7be5a6458bbd71b (patch) | |
tree | efa5196e443a897c32f3acffad1d391afc78e59e /src/video_core | |
parent | Merge pull request #3993 from ReinUsesLisp/fix-zla (diff) | |
download | yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.tar yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.tar.gz yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.tar.bz2 yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.tar.lz yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.tar.xz yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.tar.zst yuzu-fc153f6bcd9884064eb2752fc7be5a6458bbd71b.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/texture_cache/format_lookup_table.cpp | 3 |
1 files changed, 2 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 7032e0059..f476f03b0 100644 --- a/src/video_core/texture_cache/format_lookup_table.cpp +++ b/src/video_core/texture_cache/format_lookup_table.cpp @@ -41,7 +41,7 @@ struct Table { ComponentType alpha_component; bool is_srgb; }; -constexpr std::array<Table, 77> DefinitionTable = {{ +constexpr std::array<Table, 78> DefinitionTable = {{ {TextureFormat::A8R8G8B8, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::ABGR8U}, {TextureFormat::A8R8G8B8, C, SNORM, SNORM, SNORM, SNORM, PixelFormat::ABGR8S}, {TextureFormat::A8R8G8B8, C, UINT, UINT, UINT, UINT, PixelFormat::ABGR8UI}, @@ -98,6 +98,7 @@ constexpr std::array<Table, 77> 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::G24R8, C, UINT, UNORM, UNORM, UNORM, PixelFormat::S8Z24}, {TextureFormat::ZF32_X24S8, C, FLOAT, UINT, UNORM, UNORM, PixelFormat::Z32FS8}, {TextureFormat::DXT1, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::DXT1}, |