From 73c1d7e8c9cda09165546d836048e4a2cef89e0d Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 5 Feb 2019 11:36:59 -0500 Subject: mesa: add GL_AMD_compressed_ATC_texture support Signed-off-by: Ilia Mirkin Signed-off-by: Jonathan Marek Reviewed-by: Roland Scheidegger --- src/mesa/main/teximage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/teximage.c') diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index a43915e18d9..1efdd7dd902 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -176,7 +176,7 @@ oes_float_internal_format(const struct gl_context *ctx, /** * Install gl_texture_image in a gl_texture_object according to the target * and level parameters. - * + * * \param tObj texture object. * \param target texture target. * \param level image level. @@ -1366,6 +1366,9 @@ compressedteximage_only_format(GLenum format) case GL_PALETTE8_R5_G6_B5_OES: case GL_PALETTE8_RGBA4_OES: case GL_PALETTE8_RGB5_A1_OES: + case GL_ATC_RGB_AMD: + case GL_ATC_RGBA_EXPLICIT_ALPHA_AMD: + case GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD: return true; default: return false; -- cgit v1.2.3