summaryrefslogtreecommitdiff
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-06-30 04:53:48 -0300
committerGravatar ReinUsesLisp2020-07-13 01:01:09 -0300
commit1d20aac795857f8d28e7fc196473a90da4ced33d (patch)
tree3ffb19ef38a1420967a55c8181554f7abe766293 /src/video_core/morton.cpp
parentvideo_core: Implement RGBA32_SINT render target (diff)
downloadyuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.gz
yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.xz
yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.zip
video_core: Implement RGBA32_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 18bcb60b0..889f7caac 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -47,6 +47,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
47 MortonCopy<true, PixelFormat::ABGR8UI>, 47 MortonCopy<true, PixelFormat::ABGR8UI>,
48 MortonCopy<true, PixelFormat::B5G6R5U>, 48 MortonCopy<true, PixelFormat::B5G6R5U>,
49 MortonCopy<true, PixelFormat::A2B10G10R10U>, 49 MortonCopy<true, PixelFormat::A2B10G10R10U>,
50 MortonCopy<true, PixelFormat::A2B10G10R10UI>,
50 MortonCopy<true, PixelFormat::A1B5G5R5U>, 51 MortonCopy<true, PixelFormat::A1B5G5R5U>,
51 MortonCopy<true, PixelFormat::R8U>, 52 MortonCopy<true, PixelFormat::R8U>,
52 MortonCopy<true, PixelFormat::R8S>, 53 MortonCopy<true, PixelFormat::R8S>,
@@ -137,6 +138,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
137 MortonCopy<false, PixelFormat::ABGR8UI>, 138 MortonCopy<false, PixelFormat::ABGR8UI>,
138 MortonCopy<false, PixelFormat::B5G6R5U>, 139 MortonCopy<false, PixelFormat::B5G6R5U>,
139 MortonCopy<false, PixelFormat::A2B10G10R10U>, 140 MortonCopy<false, PixelFormat::A2B10G10R10U>,
141 MortonCopy<false, PixelFormat::A2B10G10R10UI>,
140 MortonCopy<false, PixelFormat::A1B5G5R5U>, 142 MortonCopy<false, PixelFormat::A1B5G5R5U>,
141 MortonCopy<false, PixelFormat::R8U>, 143 MortonCopy<false, PixelFormat::R8U>,
142 MortonCopy<false, PixelFormat::R8S>, 144 MortonCopy<false, PixelFormat::R8S>,