aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Texture/ImageUtils.cs
diff options
context:
space:
mode:
authorHorrorTroll <sonicvipduc@gmail.com>2018-11-23 21:21:45 +0700
committergdkchan <gab.dark.100@gmail.com>2018-11-23 12:21:45 -0200
commite7fe7d724778535f8eff390abef54274a343c0b7 (patch)
tree06c956a69efcbed94839443736490e1676247b66 /Ryujinx.Graphics/Texture/ImageUtils.cs
parent76e2d48eeedfbb5419c957d41478b8b1235f26e5 (diff)
Add RGBA16 Unorm (#513)
Diffstat (limited to 'Ryujinx.Graphics/Texture/ImageUtils.cs')
-rw-r--r--Ryujinx.Graphics/Texture/ImageUtils.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Texture/ImageUtils.cs b/Ryujinx.Graphics/Texture/ImageUtils.cs
index 417d7998..479be5b1 100644
--- a/Ryujinx.Graphics/Texture/ImageUtils.cs
+++ b/Ryujinx.Graphics/Texture/ImageUtils.cs
@@ -176,6 +176,7 @@ namespace Ryujinx.Graphics.Texture
case GalSurfaceFormat.RGBA32Float: return GalImageFormat.RGBA32 | Float;
case GalSurfaceFormat.RGBA32Uint: return GalImageFormat.RGBA32 | Uint;
case GalSurfaceFormat.RGBA16Float: return GalImageFormat.RGBA16 | Float;
+ case GalSurfaceFormat.RGBA16Unorm: return GalImageFormat.RGBA16 | Unorm;
case GalSurfaceFormat.RG32Float: return GalImageFormat.RG32 | Float;
case GalSurfaceFormat.RG32Sint: return GalImageFormat.RG32 | Sint;
case GalSurfaceFormat.RG32Uint: return GalImageFormat.RG32 | Uint;