summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-05-09 10:28:55 +0200
committerGitHub <noreply@github.com>2020-05-09 10:28:55 +0200
commit7e376af8fcd60baaa127b459e83bf716067be233 (patch)
tree074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/texture_cache
parentMerge pull request #3842 from makigumo/maxwell_to_vk_vertexattribute_signed_int (diff)
parenttexture: Implement R8G8UI (diff)
downloadyuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.gz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.bz2
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.lz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.xz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.zst
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.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 25d2ee2e8..7032e0059 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, 76> DefinitionTable = {{
+constexpr std::array<Table, 77> 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},
@@ -60,6 +60,7 @@ constexpr std::array<Table, 76> DefinitionTable = {{
{TextureFormat::G8R8, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::RG8U},
{TextureFormat::G8R8, C, SNORM, SNORM, SNORM, SNORM, PixelFormat::RG8S},
+ {TextureFormat::G8R8, C, UINT, UINT, UINT, UINT, PixelFormat::RG8UI},
{TextureFormat::R16_G16_B16_A16, C, SNORM, SNORM, SNORM, SNORM, PixelFormat::RGBA16S},
{TextureFormat::R16_G16_B16_A16, C, UNORM, UNORM, UNORM, UNORM, PixelFormat::RGBA16U},