diff options
| author | HorrorTroll <sonicvipduc@gmail.com> | 2018-12-27 18:05:54 +0700 |
|---|---|---|
| committer | emmauss <emmausssss@gmail.com> | 2018-12-27 13:05:54 +0200 |
| commit | 5d14040e66b2fd70f9cbfdde7a45ba9dab49418d (patch) | |
| tree | 9a83a1d5d11a9c14c9c0ba3dc88888cbe8f9f618 | |
| parent | 1fd1ec5664fdf6f29c04f2449cd3d8645e520661 (diff) | |
Add RG16 Sint (#517)
| -rw-r--r-- | Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs b/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs index 479be5b1..6fff7f70 100644 --- a/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs +++ b/Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs @@ -53,7 +53,7 @@ namespace Ryujinx.Graphics.Texture { GalTextureFormat.RG8, GalImageFormat.RG8 | Snorm | Unorm | Sint | Uint }, { GalTextureFormat.R16, GalImageFormat.R16 | Snorm | Unorm | Sint | Uint | Float }, { GalTextureFormat.R8, GalImageFormat.R8 | Snorm | Unorm | Sint | Uint }, - { GalTextureFormat.RG16, GalImageFormat.RG16 | Snorm | Unorm | Float }, + { GalTextureFormat.RG16, GalImageFormat.RG16 | Snorm | Unorm | Sint | Float }, { GalTextureFormat.R32, GalImageFormat.R32 | Sint | Uint | Float }, { GalTextureFormat.RGBA4, GalImageFormat.RGBA4 | Unorm }, { GalTextureFormat.RGB5A1, GalImageFormat.RGB5A1 | Unorm }, @@ -188,6 +188,7 @@ namespace Ryujinx.Graphics.Texture case GalSurfaceFormat.RGBA8Snorm: return GalImageFormat.RGBA8 | Snorm; case GalSurfaceFormat.RG16Snorm: return GalImageFormat.RG16 | Snorm; case GalSurfaceFormat.RG16Unorm: return GalImageFormat.RG16 | Unorm; + case GalSurfaceFormat.RG16Sint: return GalImageFormat.RG16 | Sint; case GalSurfaceFormat.RG16Float: return GalImageFormat.RG16 | Float; case GalSurfaceFormat.R11G11B10Float: return GalImageFormat.R11G11B10 | Float; case GalSurfaceFormat.R32Float: return GalImageFormat.R32 | Float; |
