From c2084eeaddfaf55f288f431f5d3756b581078f54 Mon Sep 17 00:00:00 2001 From: HorrorTroll Date: Sat, 15 Sep 2018 13:39:34 +0700 Subject: [PATCH] Implement B5G6R5Unorm & BGR5A1Unorm --- Ryujinx.Graphics/Texture/ImageUtils.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx.Graphics/Texture/ImageUtils.cs b/Ryujinx.Graphics/Texture/ImageUtils.cs index c09eaf8693..38b50fb625 100644 --- a/Ryujinx.Graphics/Texture/ImageUtils.cs +++ b/Ryujinx.Graphics/Texture/ImageUtils.cs @@ -185,6 +185,8 @@ namespace Ryujinx.Graphics.Texture case GalSurfaceFormat.RG8Snorm: return GalImageFormat.R8 | Snorm; case GalSurfaceFormat.R16Float: return GalImageFormat.R16 | Sfloat; case GalSurfaceFormat.R8Unorm: return GalImageFormat.R8 | Unorm; + case GalSurfaceFormat.B5G6R5Unorm: return GalImageFormat.B5G6R5 | Unorm; + case GalSurfaceFormat.BGR5A1Unorm: return GalImageFormat.A1R5G5B5 | Unorm; } throw new NotImplementedException(Format.ToString());