summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/format_lookup_table.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-13 01:42:33 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-13 01:42:33 +0100
commit4dcca90ef436b2177efa1108ee2504700bf014b4 (patch)
tree5e8edc95cc7828b3b604449cebf56d6f5d6c58c9 /src/video_core/texture_cache/format_lookup_table.cpp
parentMerge pull request #3497 from FernandoS27/microprogfile-extend (diff)
downloadyuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.gz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.bz2
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.lz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.xz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.zst
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.zip
Diffstat (limited to 'src/video_core/texture_cache/format_lookup_table.cpp')
-rw-r--r--src/video_core/texture_cache/format_lookup_table.cpp3
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 cc3ad8417..e151c26c4 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, 75> DefinitionTable = {{
+constexpr std::array<Table, 76> 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},
@@ -61,6 +61,7 @@ constexpr std::array<Table, 75> DefinitionTable = {{
{TextureFormat::G8R8, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::RG8U},
{TextureFormat::G8R8, C, SNORM, SNORM, SNORM, SNORM, PixelFormat::RG8S},
+ {TextureFormat::R16_G16_B16_A16, C, SNORM, SNORM, SNORM, SNORM, PixelFormat::RGBA16S},
{TextureFormat::R16_G16_B16_A16, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::RGBA16U},
{TextureFormat::R16_G16_B16_A16, C, FLOAT, FLOAT, FLOAT, FLOAT, PixelFormat::RGBA16F},
{TextureFormat::R16_G16_B16_A16, C, UINT, UINT, UINT, UINT, PixelFormat::RGBA16UI},