|
|
@@ -148,12 +148,14 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|
|
{
|
|
|
switch (Format)
|
|
|
{
|
|
|
- case GalTextureFormat.BC7U: return InternalFormat.CompressedRgbaBptcUnorm;
|
|
|
- case GalTextureFormat.BC1: return InternalFormat.CompressedRgbaS3tcDxt1Ext;
|
|
|
- case GalTextureFormat.BC2: return InternalFormat.CompressedRgbaS3tcDxt3Ext;
|
|
|
- case GalTextureFormat.BC3: return InternalFormat.CompressedRgbaS3tcDxt5Ext;
|
|
|
- case GalTextureFormat.BC4: return InternalFormat.CompressedRedRgtc1;
|
|
|
- case GalTextureFormat.BC5: return InternalFormat.CompressedRgRgtc2;
|
|
|
+ case GalTextureFormat.BC6H_UF16: return InternalFormat.CompressedRgbBptcUnsignedFloat;
|
|
|
+ case GalTextureFormat.BC6H_SF16: return InternalFormat.CompressedRgbBptcSignedFloat;
|
|
|
+ case GalTextureFormat.BC7U: return InternalFormat.CompressedRgbaBptcUnorm;
|
|
|
+ case GalTextureFormat.BC1: return InternalFormat.CompressedRgbaS3tcDxt1Ext;
|
|
|
+ case GalTextureFormat.BC2: return InternalFormat.CompressedRgbaS3tcDxt3Ext;
|
|
|
+ case GalTextureFormat.BC3: return InternalFormat.CompressedRgbaS3tcDxt5Ext;
|
|
|
+ case GalTextureFormat.BC4: return InternalFormat.CompressedRedRgtc1;
|
|
|
+ case GalTextureFormat.BC5: return InternalFormat.CompressedRgRgtc2;
|
|
|
}
|
|
|
|
|
|
throw new NotImplementedException(Format.ToString());
|
|
|
@@ -264,4 +266,4 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|
|
throw new ArgumentException(nameof(BlendFactor));
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|