[GPU] Add support for the BC4/5 texture formats
This commit is contained in:
parent
f57fd95fd9
commit
7b2f471d4f
5 changed files with 20 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue