video_core: Fix B5G6R5_UNORM render target format
This commit is contained in:
parent
990b14f181
commit
480850ffe7
5 changed files with 10 additions and 1 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue