diff options
author | Jonathan Marek <[email protected]> | 2019-02-05 11:36:59 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-23 17:11:56 +0000 |
commit | 73c1d7e8c9cda09165546d836048e4a2cef89e0d (patch) | |
tree | 13b380103c6ed583018c346521545bff5f3674f8 /src/mesa/main/teximage.c | |
parent | 951d60f8cdc886adff09201ff65002e3ee1a4c61 (diff) |
mesa: add GL_AMD_compressed_ATC_texture support
Signed-off-by: Ilia Mirkin <[email protected]>
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |