summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-15 06:54:24 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-15 20:26:50 +0100
commit14c2a4a2ec30256e9299017e532a24e6600d7b95 (patch)
treeff310888bf33082e04bee0868e270c11a9f9aaf8 /src/video_core/texture_cache
parentMerge pull request #3401 from FernandoS27/synchronization (diff)
downloadyuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.gz
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.bz2
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.lz
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.xz
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.zst
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.zip
Diffstat (limited to 'src/video_core/texture_cache')
-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 81fb9f633..cc3ad8417 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, 74> DefinitionTable = {{
+constexpr std::array<Table, 75> 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},
@@ -89,6 +89,7 @@ constexpr std::array<Table, 74> DefinitionTable = {{
{TextureFormat::R32, C, FLOAT, FLOAT, FLOAT, FLOAT, PixelFormat::R32F},
{TextureFormat::R32, C, UINT, UINT, UINT, UINT, PixelFormat::R32UI},
+ {TextureFormat::R32, C, SINT, SINT, SINT, SINT, PixelFormat::R32I},
{TextureFormat::E5B9G9R9_SHAREDEXP, C, FLOAT, FLOAT, FLOAT, FLOAT, PixelFormat::E5B9G9R9F},