diff options
| author | 2019-10-02 19:00:16 -0400 | |
|---|---|---|
| committer | 2019-10-09 12:44:31 -0400 | |
| commit | b9ddb517b191b449b8d935acb29962e43054dde4 (patch) | |
| tree | 1b57f73765004537476b04cb7ce131a3a7522453 /src/video_core/morton.cpp | |
| parent | Merge pull request #2921 from FreddyFunk/compiler-warnings-core (diff) | |
| download | yuzu-b9ddb517b191b449b8d935acb29962e43054dde4.tar.gz yuzu-b9ddb517b191b449b8d935acb29962e43054dde4.tar.xz yuzu-b9ddb517b191b449b8d935acb29962e43054dde4.zip | |
Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5
Diffstat (limited to 'src/video_core/morton.cpp')
| -rw-r--r-- | src/video_core/morton.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp index ab71870ab..f8f841490 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp | |||
| @@ -101,6 +101,16 @@ static constexpr ConversionArray morton_to_linear_fns = { | |||
| 101 | MortonCopy<true, PixelFormat::ASTC_2D_5X5_SRGB>, | 101 | MortonCopy<true, PixelFormat::ASTC_2D_5X5_SRGB>, |
| 102 | MortonCopy<true, PixelFormat::ASTC_2D_10X8>, | 102 | MortonCopy<true, PixelFormat::ASTC_2D_10X8>, |
| 103 | MortonCopy<true, PixelFormat::ASTC_2D_10X8_SRGB>, | 103 | MortonCopy<true, PixelFormat::ASTC_2D_10X8_SRGB>, |
| 104 | MortonCopy<true, PixelFormat::ASTC_2D_6X6>, | ||
| 105 | MortonCopy<true, PixelFormat::ASTC_2D_6X6_SRGB>, | ||
| 106 | MortonCopy<true, PixelFormat::ASTC_2D_10X10>, | ||
| 107 | MortonCopy<true, PixelFormat::ASTC_2D_10X10_SRGB>, | ||
| 108 | MortonCopy<true, PixelFormat::ASTC_2D_12X12>, | ||
| 109 | MortonCopy<true, PixelFormat::ASTC_2D_12X12_SRGB>, | ||
| 110 | MortonCopy<true, PixelFormat::ASTC_2D_8X6>, | ||
| 111 | MortonCopy<true, PixelFormat::ASTC_2D_8X6_SRGB>, | ||
| 112 | MortonCopy<true, PixelFormat::ASTC_2D_6X5>, | ||
| 113 | MortonCopy<true, PixelFormat::ASTC_2D_6X5_SRGB>, | ||
| 104 | MortonCopy<true, PixelFormat::Z32F>, | 114 | MortonCopy<true, PixelFormat::Z32F>, |
| 105 | MortonCopy<true, PixelFormat::Z16>, | 115 | MortonCopy<true, PixelFormat::Z16>, |
| 106 | MortonCopy<true, PixelFormat::Z24S8>, | 116 | MortonCopy<true, PixelFormat::Z24S8>, |
| @@ -170,6 +180,16 @@ static constexpr ConversionArray linear_to_morton_fns = { | |||
| 170 | nullptr, | 180 | nullptr, |
| 171 | nullptr, | 181 | nullptr, |
| 172 | nullptr, | 182 | nullptr, |
| 183 | nullptr, | ||
| 184 | nullptr, | ||
| 185 | nullptr, | ||
| 186 | nullptr, | ||
| 187 | nullptr, | ||
| 188 | nullptr, | ||
| 189 | nullptr, | ||
| 190 | nullptr, | ||
| 191 | nullptr, | ||
| 192 | nullptr, | ||
| 173 | MortonCopy<false, PixelFormat::Z32F>, | 193 | MortonCopy<false, PixelFormat::Z32F>, |
| 174 | MortonCopy<false, PixelFormat::Z16>, | 194 | MortonCopy<false, PixelFormat::Z16>, |
| 175 | MortonCopy<false, PixelFormat::Z24S8>, | 195 | MortonCopy<false, PixelFormat::Z24S8>, |