diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 17:32:36 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 01:01:09 -0300 |
| commit | 480850ffe7106a23f23946ad9ea46b800fa60168 (patch) | |
| tree | f2fdbe25c51b0b7458b67df7c1f9338374438a9c /src/video_core/morton.cpp | |
| parent | 990b14f181d133641173498e65c9ddccc9ab16ad (diff) | |
video_core: Fix B5G6R5_UNORM render target 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 889f7caac..7f239566a 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp @@ -46,6 +46,7 @@ static constexpr ConversionArray morton_to_linear_fns = { MortonCopy<true, PixelFormat::ABGR8I>, MortonCopy<true, PixelFormat::ABGR8UI>, MortonCopy<true, PixelFormat::B5G6R5U>, + MortonCopy<true, PixelFormat::B5G5R5A1U>, MortonCopy<true, PixelFormat::A2B10G10R10U>, MortonCopy<true, PixelFormat::A2B10G10R10UI>, MortonCopy<true, PixelFormat::A1B5G5R5U>, @@ -137,6 +138,7 @@ static constexpr ConversionArray linear_to_morton_fns = { MortonCopy<false, PixelFormat::ABGR8I>, MortonCopy<false, PixelFormat::ABGR8UI>, MortonCopy<false, PixelFormat::B5G6R5U>, + MortonCopy<false, PixelFormat::B5G5R5A1U>, MortonCopy<false, PixelFormat::A2B10G10R10U>, MortonCopy<false, PixelFormat::A2B10G10R10UI>, MortonCopy<false, PixelFormat::A1B5G5R5U>, |
