Implement B5G6R5Unorm & BGR5A1Unorm

This commit is contained in:
HorrorTroll 2018-08-25 19:56:38 +07:00
parent 57dfa09e3a
commit 1b5ac90976

View file

@ -142,6 +142,8 @@ namespace Ryujinx.Graphics.Gal
case GalFrameBufferFormat.RG8Snorm: return GalImageFormat.R8_SNORM; case GalFrameBufferFormat.RG8Snorm: return GalImageFormat.R8_SNORM;
case GalFrameBufferFormat.RGBA8Snorm: return GalImageFormat.A8B8G8R8_SNORM_PACK32; case GalFrameBufferFormat.RGBA8Snorm: return GalImageFormat.A8B8G8R8_SNORM_PACK32;
case GalFrameBufferFormat.RG8Unorm: return GalImageFormat.R8G8_UNORM; case GalFrameBufferFormat.RG8Unorm: return GalImageFormat.R8G8_UNORM;
case GalFrameBufferFormat.B5G6R5Unorm: return GalImageFormat.B5G6R5_UNORM_PACK16;
case GalFrameBufferFormat.BGR5A1Unorm: return GalImageFormat.A1R5G5B5_UNORM_PACK16;
} }
throw new NotImplementedException(Format.ToString()); throw new NotImplementedException(Format.ToString());