summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:23:03 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit50c6030a8dc19454f558ba38562aed44b8c294f2 (patch)
tree9b36c6358ff0fe662f0f5b08125a2c2b28ebcbd4 /src/video_core/morton.cpp
parentvideo_core: Implement RG8_SINT render target and fix RG8_UINT (diff)
downloadyuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.gz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.bz2
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.lz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.xz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.zst
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.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 9e50aa11d..f932df53f 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -70,6 +70,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
MortonCopy<true, PixelFormat::BGRA8>,
MortonCopy<true, PixelFormat::RGBA32F>,
MortonCopy<true, PixelFormat::RG32F>,
+ MortonCopy<true, PixelFormat::RG32I>,
MortonCopy<true, PixelFormat::R32F>,
MortonCopy<true, PixelFormat::R16F>,
MortonCopy<true, PixelFormat::R16U>,
@@ -157,6 +158,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
MortonCopy<false, PixelFormat::BGRA8>,
MortonCopy<false, PixelFormat::RGBA32F>,
MortonCopy<false, PixelFormat::RG32F>,
+ MortonCopy<false, PixelFormat::RG32I>,
MortonCopy<false, PixelFormat::R32F>,
MortonCopy<false, PixelFormat::R16F>,
MortonCopy<false, PixelFormat::R16U>,