mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-09 23:02:34 -07:00
[GPU] Add support for the BC4/5 texture formats
This commit is contained in:
@@ -74,6 +74,8 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||
case GalTextureFormat.BC1: return PixelInternalFormat.CompressedRgbaS3tcDxt1Ext;
|
||||
case GalTextureFormat.BC2: return PixelInternalFormat.CompressedRgbaS3tcDxt3Ext;
|
||||
case GalTextureFormat.BC3: return PixelInternalFormat.CompressedRgbaS3tcDxt5Ext;
|
||||
case GalTextureFormat.BC4: return PixelInternalFormat.CompressedRedRgtc1;
|
||||
case GalTextureFormat.BC5: return PixelInternalFormat.CompressedRgRgtc2;
|
||||
}
|
||||
|
||||
throw new NotImplementedException(Format.ToString());
|
||||
|
Reference in New Issue
Block a user