mesa/glformats: Undo code changes from _mesa_base_tex_format() move
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 8 Oct 2015 23:44:30 +0000 (16:44 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 21 Oct 2015 17:36:31 +0000 (10:36 -0700)
commitf1147a238ab35a56fa7d1c64f6025ff3b909dad8
tree434da5e9bcd0f3ca6e8277534b0650d32d4d922e
parent2ce659b5e422f7e7639d6e451160c197717df823
mesa/glformats: Undo code changes from _mesa_base_tex_format() move

The refactoring commit, c6bf1cd, accidentally reverted cd49b97
and 99b1f47. These changes caused more code to be added to the
function and removed the existing support for ASTC. This patch
reverts those modifications.

v2. Actually include ASTC support again.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92221
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/main/glformats.c