summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:13:46 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commite849d680480e07e430793fd9657a08b676655803 (patch)
tree640b2cfed02f0e67750ff4ec4c8fc15e909a099f /src/video_core/morton.cpp
parentvideo_core: Implement R8_SINT render target (diff)
downloadyuzu-e849d680480e07e430793fd9657a08b676655803.tar
yuzu-e849d680480e07e430793fd9657a08b676655803.tar.gz
yuzu-e849d680480e07e430793fd9657a08b676655803.tar.bz2
yuzu-e849d680480e07e430793fd9657a08b676655803.tar.lz
yuzu-e849d680480e07e430793fd9657a08b676655803.tar.xz
yuzu-e849d680480e07e430793fd9657a08b676655803.tar.zst
yuzu-e849d680480e07e430793fd9657a08b676655803.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 790360d4d..9e50aa11d 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -85,6 +85,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
MortonCopy<true, PixelFormat::RGBA8_SRGB>,
MortonCopy<true, PixelFormat::RG8U>,
MortonCopy<true, PixelFormat::RG8S>,
+ MortonCopy<true, PixelFormat::RG8I>,
MortonCopy<true, PixelFormat::RG8UI>,
MortonCopy<true, PixelFormat::RG32UI>,
MortonCopy<true, PixelFormat::RGBX16F>,
@@ -171,6 +172,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
MortonCopy<false, PixelFormat::RGBA8_SRGB>,
MortonCopy<false, PixelFormat::RG8U>,
MortonCopy<false, PixelFormat::RG8S>,
+ MortonCopy<false, PixelFormat::RG8I>,
MortonCopy<false, PixelFormat::RG8UI>,
MortonCopy<false, PixelFormat::RG32UI>,
MortonCopy<false, PixelFormat::RGBX16F>,