summaryrefslogtreecommitdiff
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-10-27 16:44:09 -0400
committerGravatar Fernando Sahmkow2019-10-27 16:44:09 -0400
commit3f9262195b1ab4828d93f661e1b0dedacb01f937 (patch)
tree54a95ce1409a00ac686ee0ff4efcf3f789880935 /src/video_core/morton.cpp
parentMerge pull request #2976 from FernandoS27/cache-fast-brx-rebased (diff)
downloadyuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.gz
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.xz
yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.zip
Video_Core: Implement texture format E5B9G9R9_SHAREDEXP.
This commit implements the E5B9G9R9 Texture format into the general system and OpenGL backend.
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 = {
112 MortonCopy<true, PixelFormat::ASTC_2D_8X6_SRGB>, 112 MortonCopy<true, PixelFormat::ASTC_2D_8X6_SRGB>,
113 MortonCopy<true, PixelFormat::ASTC_2D_6X5>, 113 MortonCopy<true, PixelFormat::ASTC_2D_6X5>,
114 MortonCopy<true, PixelFormat::ASTC_2D_6X5_SRGB>, 114 MortonCopy<true, PixelFormat::ASTC_2D_6X5_SRGB>,
115 MortonCopy<true, PixelFormat::E5B9G9R9F>,
115 MortonCopy<true, PixelFormat::Z32F>, 116 MortonCopy<true, PixelFormat::Z32F>,
116 MortonCopy<true, PixelFormat::Z16>, 117 MortonCopy<true, PixelFormat::Z16>,
117 MortonCopy<true, PixelFormat::Z24S8>, 118 MortonCopy<true, PixelFormat::Z24S8>,
@@ -192,6 +193,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
192 nullptr, 193 nullptr,
193 nullptr, 194 nullptr,
194 nullptr, 195 nullptr,
196 MortonCopy<false, PixelFormat::E5B9G9R9F>,
195 MortonCopy<false, PixelFormat::Z32F>, 197 MortonCopy<false, PixelFormat::Z32F>,
196 MortonCopy<false, PixelFormat::Z16>, 198 MortonCopy<false, PixelFormat::Z16>,
197 MortonCopy<false, PixelFormat::Z24S8>, 199 MortonCopy<false, PixelFormat::Z24S8>,