summaryrefslogtreecommitdiff
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-06-30 04:31:48 -0300
committerGravatar ReinUsesLisp2020-07-13 01:01:09 -0300
commit977d6c46f334493852c5c31ff824a871e94188a1 (patch)
treed7a9105d1bd9d93b8f0b2dc6a66c188b9e14d89a /src/video_core/morton.cpp
parentvideo_core: Implement RG32_SINT render target (diff)
downloadyuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.gz
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.xz
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.zip
video_core: Implement RGBA8_SINT render target
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 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
43static constexpr ConversionArray morton_to_linear_fns = { 43static constexpr ConversionArray morton_to_linear_fns = {
44 MortonCopy<true, PixelFormat::ABGR8U>, 44 MortonCopy<true, PixelFormat::ABGR8U>,
45 MortonCopy<true, PixelFormat::ABGR8S>, 45 MortonCopy<true, PixelFormat::ABGR8S>,
46 MortonCopy<true, PixelFormat::ABGR8I>,
46 MortonCopy<true, PixelFormat::ABGR8UI>, 47 MortonCopy<true, PixelFormat::ABGR8UI>,
47 MortonCopy<true, PixelFormat::B5G6R5U>, 48 MortonCopy<true, PixelFormat::B5G6R5U>,
48 MortonCopy<true, PixelFormat::A2B10G10R10U>, 49 MortonCopy<true, PixelFormat::A2B10G10R10U>,
@@ -130,6 +131,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
130static constexpr ConversionArray linear_to_morton_fns = { 131static constexpr ConversionArray linear_to_morton_fns = {
131 MortonCopy<false, PixelFormat::ABGR8U>, 132 MortonCopy<false, PixelFormat::ABGR8U>,
132 MortonCopy<false, PixelFormat::ABGR8S>, 133 MortonCopy<false, PixelFormat::ABGR8S>,
134 MortonCopy<false, PixelFormat::ABGR8I>,
133 MortonCopy<false, PixelFormat::ABGR8UI>, 135 MortonCopy<false, PixelFormat::ABGR8UI>,
134 MortonCopy<false, PixelFormat::B5G6R5U>, 136 MortonCopy<false, PixelFormat::B5G6R5U>,
135 MortonCopy<false, PixelFormat::A2B10G10R10U>, 137 MortonCopy<false, PixelFormat::A2B10G10R10U>,