Implement B5G6R5Unorm & BGR5A1Unorm
This commit is contained in:
parent
57dfa09e3a
commit
1b5ac90976
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue