summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-27 21:44:09 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-10-27 21:44:09 +0100
commit3f9262195b1ab4828d93f661e1b0dedacb01f937 (patch)
tree54a95ce1409a00ac686ee0ff4efcf3f789880935 /src/video_core/morton.cpp
parentMerge pull request #2976 from FernandoS27/cache-fast-brx-rebased (diff)
downloadyuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.gz
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.bz2
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.lz
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.xz
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.zst
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.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 fe5f08ace..2f2fe6859 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -112,6 +112,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
MortonCopy<true, PixelFormat::ASTC_2D_8X6_SRGB>,
MortonCopy<true, PixelFormat::ASTC_2D_6X5>,
MortonCopy<true, PixelFormat::ASTC_2D_6X5_SRGB>,
+ MortonCopy<true, PixelFormat::E5B9G9R9F>,
MortonCopy<true, PixelFormat::Z32F>,
MortonCopy<true, PixelFormat::Z16>,
MortonCopy<true, PixelFormat::Z24S8>,
@@ -192,6 +193,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
nullptr,
nullptr,
nullptr,
+ MortonCopy<false, PixelFormat::E5B9G9R9F>,
MortonCopy<false, PixelFormat::Z32F>,
MortonCopy<false, PixelFormat::Z16>,
MortonCopy<false, PixelFormat::Z24S8>,