mesa: enable ASTC format for CompressedTexSubImage3D

Graphics / Mesa 3D Graphics Library / Mesa - Juan A. Suarez Romero [igalia.com] - 5 February 2018 16:00 EST

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

3d14e72057 mesa: enable ASTC format for CompressedTexSubImage3D
src/mesa/main/teximage.c | 41 +++++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share