aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-04-10 18:54:50 -0300
committergdkchan <gab.dark.100@gmail.com>2018-04-10 18:54:50 -0300
commit7b2f471d4ff07bc811bbd84919c6708ab0f399f4 (patch)
tree07602996009587194fad2a895d47dca4e75719f3 /Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs
parentf57fd95fd9ee12e2dec0af891604a447ea69adce (diff)
[GPU] Add support for the BC4/5 texture formats
Diffstat (limited to 'Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs')
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs
index 03c3ef52..17bf6291 100644
--- a/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs
+++ b/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs
@@ -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());