summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-03-16 01:24:53 +0100
committerGitHub <noreply@github.com>2020-03-16 01:24:53 +0100
commit7cc46a6faae50080e96a5ba5e8e0101e12573de8 (patch)
tree1811a5ff13e92377db955f1483d897a4e37d15ad /src/video_core/morton.cpp
parentMerge pull request #3502 from namkazt/patch-3 (diff)
parentvideo_core: Implement RGBA16_SNORM (diff)
downloadyuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.gz
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.bz2
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.lz
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.xz
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.zst
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.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 f2c83266e..6d522c318 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -51,6 +51,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
MortonCopy<true, PixelFormat::R8UI>,
MortonCopy<true, PixelFormat::RGBA16F>,
MortonCopy<true, PixelFormat::RGBA16U>,
+ MortonCopy<true, PixelFormat::RGBA16S>,
MortonCopy<true, PixelFormat::RGBA16UI>,
MortonCopy<true, PixelFormat::R11FG11FB10F>,
MortonCopy<true, PixelFormat::RGBA32UI>,
@@ -131,6 +132,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
MortonCopy<false, PixelFormat::R8U>,
MortonCopy<false, PixelFormat::R8UI>,
MortonCopy<false, PixelFormat::RGBA16F>,
+ MortonCopy<false, PixelFormat::RGBA16S>,
MortonCopy<false, PixelFormat::RGBA16U>,
MortonCopy<false, PixelFormat::RGBA16UI>,
MortonCopy<false, PixelFormat::R11FG11FB10F>,