video_core: Fix B5G6R5_UNORM render target format

This commit is contained in:
ReinUsesLisp 2020-06-30 17:32:36 -03:00
parent 990b14f181
commit 480850ffe7
5 changed files with 10 additions and 1 deletions

View file

@ -155,7 +155,7 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
case Tegra::RenderTargetFormat::B5G6R5_UNORM:
return PixelFormat::B5G6R5U;
case Tegra::RenderTargetFormat::BGR5A1_UNORM:
return PixelFormat::A1B5G5R5U;
return PixelFormat::B5G5R5A1U;
case Tegra::RenderTargetFormat::RG8_UNORM:
return PixelFormat::RG8U;
case Tegra::RenderTargetFormat::RG8_SNORM: