Skip to content
Snippets Groups Projects
Commit 2294f6f3 authored by Nanley Chery's avatar Nanley Chery Committed by Emil Velikov
Browse files

mesa/glformats: Undo code changes from _mesa_base_tex_format() move

The refactoring commit, c6bf1cd1, accidentally reverted cd49b97a
and 99b1f475. 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: default avatarNanley Chery <nanley.g.chery@intel.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit f1147a23)
[Emil Velikov]
 - Drop the KHR_texture_compression_astc_ldr check
 - Add texcompress.h include.
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.co.uk>
parent a3337912
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment