diff options
| author | 2019-10-08 12:54:59 -0400 | |
|---|---|---|
| committer | 2019-10-09 12:57:02 -0400 | |
| commit | f32a49d3d8b820a20c5311a0c27df5846d55b0e9 (patch) | |
| tree | 6246dd9150144fdcb1947bb0d84105ed2e3f406c /src/video_core/morton.cpp | |
| parent | Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5 (diff) | |
| download | yuzu-f32a49d3d8b820a20c5311a0c27df5846d55b0e9.tar.gz yuzu-f32a49d3d8b820a20c5311a0c27df5846d55b0e9.tar.xz yuzu-f32a49d3d8b820a20c5311a0c27df5846d55b0e9.zip | |
Surfaces: Implement R4G4B4A4U format.
Diffstat (limited to 'src/video_core/morton.cpp')
| -rw-r--r-- | src/video_core/morton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp index f8f841490..fe5f08ace 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp | |||
| @@ -93,6 +93,7 @@ static constexpr ConversionArray morton_to_linear_fns = { | |||
| 93 | MortonCopy<true, PixelFormat::DXT23_SRGB>, | 93 | MortonCopy<true, PixelFormat::DXT23_SRGB>, |
| 94 | MortonCopy<true, PixelFormat::DXT45_SRGB>, | 94 | MortonCopy<true, PixelFormat::DXT45_SRGB>, |
| 95 | MortonCopy<true, PixelFormat::BC7U_SRGB>, | 95 | MortonCopy<true, PixelFormat::BC7U_SRGB>, |
| 96 | MortonCopy<true, PixelFormat::R4G4B4A4U>, | ||
| 96 | MortonCopy<true, PixelFormat::ASTC_2D_4X4_SRGB>, | 97 | MortonCopy<true, PixelFormat::ASTC_2D_4X4_SRGB>, |
| 97 | MortonCopy<true, PixelFormat::ASTC_2D_8X8_SRGB>, | 98 | MortonCopy<true, PixelFormat::ASTC_2D_8X8_SRGB>, |
| 98 | MortonCopy<true, PixelFormat::ASTC_2D_8X5_SRGB>, | 99 | MortonCopy<true, PixelFormat::ASTC_2D_8X5_SRGB>, |
| @@ -172,6 +173,7 @@ static constexpr ConversionArray linear_to_morton_fns = { | |||
| 172 | MortonCopy<false, PixelFormat::DXT23_SRGB>, | 173 | MortonCopy<false, PixelFormat::DXT23_SRGB>, |
| 173 | MortonCopy<false, PixelFormat::DXT45_SRGB>, | 174 | MortonCopy<false, PixelFormat::DXT45_SRGB>, |
| 174 | MortonCopy<false, PixelFormat::BC7U_SRGB>, | 175 | MortonCopy<false, PixelFormat::BC7U_SRGB>, |
| 176 | MortonCopy<false, PixelFormat::R4G4B4A4U>, | ||
| 175 | nullptr, | 177 | nullptr, |
| 176 | nullptr, | 178 | nullptr, |
| 177 | nullptr, | 179 | nullptr, |