summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:38:29 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit95c0f5afe580943fc58d8787aeb27623daacead5 (patch)
treebefe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/morton.cpp
parentvideo_core: Implement RGBA8_SINT render target (diff)
downloadyuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.gz
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.bz2
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.lz
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.xz
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.zst
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.zip
Diffstat (limited to 'src/video_core/morton.cpp')
-rw-r--r--src/video_core/morton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp
index 452e1f01e..c7c8f2238 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -55,6 +55,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
MortonCopy<true, PixelFormat::RGBA16F>,
MortonCopy<true, PixelFormat::RGBA16U>,
MortonCopy<true, PixelFormat::RGBA16S>,
+ MortonCopy<true, PixelFormat::RGBA16I>,
MortonCopy<true, PixelFormat::RGBA16UI>,
MortonCopy<true, PixelFormat::R11FG11FB10F>,
MortonCopy<true, PixelFormat::RGBA32UI>,
@@ -142,6 +143,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
MortonCopy<false, PixelFormat::R8UI>,
MortonCopy<false, PixelFormat::RGBA16F>,
MortonCopy<false, PixelFormat::RGBA16S>,
+ MortonCopy<false, PixelFormat::RGBA16I>,
MortonCopy<false, PixelFormat::RGBA16U>,
MortonCopy<false, PixelFormat::RGBA16UI>,
MortonCopy<false, PixelFormat::R11FG11FB10F>,