mesa: enable ASTC format for CompressedTexSubImage3D
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 5 Feb 2018 16:00:11 +0000 (17:00 +0100)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 5 Feb 2018 16:00:19 +0000 (17:00 +0100)
commit3d14e720574ea933b172affdafd53c74a9381e9c
tree7ad808ed638b2c366abd3876410d44eee252b129
parent02e2009b929a0f101540b9b55c5f0ed859d1b3be
mesa: enable ASTC format for CompressedTexSubImage3D

If extensions GL_KHR_texture_compression_astc_hdr or
GL_KHR_texture_compression_astc_sliced_3d are implemented then ASTC
format are supported in CompressedTex*Îmage3D.

Fixes KHR-GLES2.texture_3d.* with this format.

CC: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
src/mesa/main/teximage.c