st/mesa: Add GL_TDFX_texture_compression_FXT1 support
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 27 Nov 2019 10:41:47 +0000 (02:41 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Dec 2019 06:55:21 +0000 (22:55 -0800)
commit1bdd342b60cf4426bfa29030032f23f1e4c80fb6
tree699f14b679e9625723e9a584f156790d06f75413
parent3e21e17b2fecad442fa649f61b6511504596d2ec
st/mesa: Add GL_TDFX_texture_compression_FXT1 support

Eric recently added PIPE_FORMAT_FXT1_RGB[A] as part of his format
unification work.  This was really most of the work of implementing
the extension.  We just need to handle it in a couple of places and
expose the extension.

v2: Reject the new formats in llvmpipe_is_format_supported to prevent
    crashes because it doesn't know how to handle the new formats.

Reviewed-by: Marek Olšák <marek.olsak@amd.com> [v1]
Reviewed-by: Eric Anholt <eric@anholt.net> [v1]
src/gallium/drivers/llvmpipe/lp_screen.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_format.c
src/util/format/u_format.h