瀏覽代碼

Add Rgba16Uint (#746)

HorrorTroll 6 年之前
父節點
當前提交
a1c7415565
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs

+ 1 - 0
Ryujinx.Graphics/Graphics3d/Texture/ImageUtils.cs

@@ -180,6 +180,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.Rgba16Uint:     return GalImageFormat.Rgba16    | Uint;
                 case GalSurfaceFormat.Rgba16Unorm:    return GalImageFormat.Rgba16    | Unorm;
                 case GalSurfaceFormat.Rg32Float:      return GalImageFormat.Rg32      | Float;
                 case GalSurfaceFormat.Rg32Sint:       return GalImageFormat.Rg32      | Sint;