mesa: Enable ASTC in GLES' [NUM_]COMPRESSED_TEXTURE_FORMATS queries
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 14 Oct 2015 21:32:43 +0000 (14:32 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 29 Oct 2015 22:40:37 +0000 (15:40 -0700)
commit65f6caf43e8bbea7c8a0d4e146ad7186c276ff9a
tree87a6d24169e8fb43a5d0f1cceaa01967eeeb4d14
parent8090a1c32692e89b79d89f4dc959a26532dd2f91
mesa: Enable ASTC in GLES' [NUM_]COMPRESSED_TEXTURE_FORMATS queries

In OpenGL ES, the COMPRESSED_TEXTURE_FORMATS query returns the set of
supported specific compressed formats. Since ASTC formats fit within
that category, include them in the set and update the
NUM_COMPRESSED_TEXTURE_FORMATS query as well.

This enables GLES2-based ASTC dEQP tests to run. See the Bugzilla for
more info.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92193
Reported-by: Tapani Pälli <tapani.palli@intel.com>
Suggested-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texcompress.c