diff options
Diffstat (limited to 'src/video_core/morton.cpp')
| -rw-r--r-- | src/video_core/morton.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp index 7f239566a..0c3c9f12d 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp | |||
| @@ -46,6 +46,7 @@ static constexpr ConversionArray morton_to_linear_fns = { | |||
| 46 | MortonCopy<true, PixelFormat::ABGR8I>, | 46 | MortonCopy<true, PixelFormat::ABGR8I>, |
| 47 | MortonCopy<true, PixelFormat::ABGR8UI>, | 47 | MortonCopy<true, PixelFormat::ABGR8UI>, |
| 48 | MortonCopy<true, PixelFormat::B5G6R5U>, | 48 | MortonCopy<true, PixelFormat::B5G6R5U>, |
| 49 | MortonCopy<true, PixelFormat::R5G6B5U>, | ||
| 49 | MortonCopy<true, PixelFormat::B5G5R5A1U>, | 50 | MortonCopy<true, PixelFormat::B5G5R5A1U>, |
| 50 | MortonCopy<true, PixelFormat::A2B10G10R10U>, | 51 | MortonCopy<true, PixelFormat::A2B10G10R10U>, |
| 51 | MortonCopy<true, PixelFormat::A2B10G10R10UI>, | 52 | MortonCopy<true, PixelFormat::A2B10G10R10UI>, |
| @@ -64,7 +65,8 @@ static constexpr ConversionArray morton_to_linear_fns = { | |||
| 64 | MortonCopy<true, PixelFormat::DXT1>, | 65 | MortonCopy<true, PixelFormat::DXT1>, |
| 65 | MortonCopy<true, PixelFormat::DXT23>, | 66 | MortonCopy<true, PixelFormat::DXT23>, |
| 66 | MortonCopy<true, PixelFormat::DXT45>, | 67 | MortonCopy<true, PixelFormat::DXT45>, |
| 67 | MortonCopy<true, PixelFormat::DXN1>, | 68 | MortonCopy<true, PixelFormat::DXN1UNORM>, |
| 69 | MortonCopy<true, PixelFormat::DXN1SNORM>, | ||
| 68 | MortonCopy<true, PixelFormat::DXN2UNORM>, | 70 | MortonCopy<true, PixelFormat::DXN2UNORM>, |
| 69 | MortonCopy<true, PixelFormat::DXN2SNORM>, | 71 | MortonCopy<true, PixelFormat::DXN2SNORM>, |
| 70 | MortonCopy<true, PixelFormat::BC7U>, | 72 | MortonCopy<true, PixelFormat::BC7U>, |
| @@ -138,6 +140,7 @@ static constexpr ConversionArray linear_to_morton_fns = { | |||
| 138 | MortonCopy<false, PixelFormat::ABGR8I>, | 140 | MortonCopy<false, PixelFormat::ABGR8I>, |
| 139 | MortonCopy<false, PixelFormat::ABGR8UI>, | 141 | MortonCopy<false, PixelFormat::ABGR8UI>, |
| 140 | MortonCopy<false, PixelFormat::B5G6R5U>, | 142 | MortonCopy<false, PixelFormat::B5G6R5U>, |
| 143 | MortonCopy<false, PixelFormat::R5G6B5U>, | ||
| 141 | MortonCopy<false, PixelFormat::B5G5R5A1U>, | 144 | MortonCopy<false, PixelFormat::B5G5R5A1U>, |
| 142 | MortonCopy<false, PixelFormat::A2B10G10R10U>, | 145 | MortonCopy<false, PixelFormat::A2B10G10R10U>, |
| 143 | MortonCopy<false, PixelFormat::A2B10G10R10UI>, | 146 | MortonCopy<false, PixelFormat::A2B10G10R10UI>, |
| @@ -156,7 +159,8 @@ static constexpr ConversionArray linear_to_morton_fns = { | |||
| 156 | MortonCopy<false, PixelFormat::DXT1>, | 159 | MortonCopy<false, PixelFormat::DXT1>, |
| 157 | MortonCopy<false, PixelFormat::DXT23>, | 160 | MortonCopy<false, PixelFormat::DXT23>, |
| 158 | MortonCopy<false, PixelFormat::DXT45>, | 161 | MortonCopy<false, PixelFormat::DXT45>, |
| 159 | MortonCopy<false, PixelFormat::DXN1>, | 162 | MortonCopy<false, PixelFormat::DXN1UNORM>, |
| 163 | MortonCopy<false, PixelFormat::DXN1SNORM>, | ||
| 160 | MortonCopy<false, PixelFormat::DXN2UNORM>, | 164 | MortonCopy<false, PixelFormat::DXN2UNORM>, |
| 161 | MortonCopy<false, PixelFormat::DXN2SNORM>, | 165 | MortonCopy<false, PixelFormat::DXN2SNORM>, |
| 162 | MortonCopy<false, PixelFormat::BC7U>, | 166 | MortonCopy<false, PixelFormat::BC7U>, |