summaryrefslogtreecommitdiff
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2020-05-09 05:28:55 -0300
committerGravatar GitHub2020-05-09 05:28:55 -0300
commit7e376af8fcd60baaa127b459e83bf716067be233 (patch)
tree074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/morton.cpp
parentMerge pull request #3842 from makigumo/maxwell_to_vk_vertexattribute_signed_int (diff)
parenttexture: Implement R8G8UI (diff)
downloadyuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.gz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.xz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.zip
Merge pull request #3839 from Morph1984/r8g8ui
texture: Implement R8G8UI
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 6d522c318..836b25c1d 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -83,6 +83,7 @@ static constexpr ConversionArray morton_to_linear_fns = {
83 MortonCopy<true, PixelFormat::RGBA8_SRGB>, 83 MortonCopy<true, PixelFormat::RGBA8_SRGB>,
84 MortonCopy<true, PixelFormat::RG8U>, 84 MortonCopy<true, PixelFormat::RG8U>,
85 MortonCopy<true, PixelFormat::RG8S>, 85 MortonCopy<true, PixelFormat::RG8S>,
86 MortonCopy<true, PixelFormat::RG8UI>,
86 MortonCopy<true, PixelFormat::RG32UI>, 87 MortonCopy<true, PixelFormat::RG32UI>,
87 MortonCopy<true, PixelFormat::RGBX16F>, 88 MortonCopy<true, PixelFormat::RGBX16F>,
88 MortonCopy<true, PixelFormat::R32UI>, 89 MortonCopy<true, PixelFormat::R32UI>,
@@ -166,6 +167,7 @@ static constexpr ConversionArray linear_to_morton_fns = {
166 MortonCopy<false, PixelFormat::RGBA8_SRGB>, 167 MortonCopy<false, PixelFormat::RGBA8_SRGB>,
167 MortonCopy<false, PixelFormat::RG8U>, 168 MortonCopy<false, PixelFormat::RG8U>,
168 MortonCopy<false, PixelFormat::RG8S>, 169 MortonCopy<false, PixelFormat::RG8S>,
170 MortonCopy<false, PixelFormat::RG8UI>,
169 MortonCopy<false, PixelFormat::RG32UI>, 171 MortonCopy<false, PixelFormat::RG32UI>,
170 MortonCopy<false, PixelFormat::RGBX16F>, 172 MortonCopy<false, PixelFormat::RGBX16F>,
171 MortonCopy<false, PixelFormat::R32UI>, 173 MortonCopy<false, PixelFormat::R32UI>,