diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:31:48 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | 977d6c46f334493852c5c31ff824a871e94188a1 (patch) | |
tree | d7a9105d1bd9d93b8f0b2dc6a66c188b9e14d89a /src/video_core/morton.cpp | |
parent | video_core: Implement RG32_SINT render target (diff) | |
download | yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.gz yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.bz2 yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.lz yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.xz yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.zst yuzu-977d6c46f334493852c5c31ff824a871e94188a1.zip |
Diffstat (limited to 'src/video_core/morton.cpp')
-rw-r--r-- | src/video_core/morton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp index f932df53f..452e1f01e 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp @@ -43,6 +43,7 @@ static void MortonCopy(u32 stride, u32 block_height, u32 height, u32 block_depth static constexpr ConversionArray morton_to_linear_fns = { MortonCopy<true, PixelFormat::ABGR8U>, MortonCopy<true, PixelFormat::ABGR8S>, + MortonCopy<true, PixelFormat::ABGR8I>, MortonCopy<true, PixelFormat::ABGR8UI>, MortonCopy<true, PixelFormat::B5G6R5U>, MortonCopy<true, PixelFormat::A2B10G10R10U>, @@ -130,6 +131,7 @@ static constexpr ConversionArray morton_to_linear_fns = { static constexpr ConversionArray linear_to_morton_fns = { MortonCopy<false, PixelFormat::ABGR8U>, MortonCopy<false, PixelFormat::ABGR8S>, + MortonCopy<false, PixelFormat::ABGR8I>, MortonCopy<false, PixelFormat::ABGR8UI>, MortonCopy<false, PixelFormat::B5G6R5U>, MortonCopy<false, PixelFormat::A2B10G10R10U>, |