video_core: Fix B5G6R5_UNORM render target format

This commit is contained in:
ReinUsesLisp 2020-06-30 17:32:36 -03:00
parent 12937875a5
commit 46c327d2d9
5 changed files with 10 additions and 1 deletions
src/video_core

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: