st/mesa: Allow ASTC5x5 fallbacks separately from other ASTC LDR formats.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 23 Nov 2019 05:33:19 +0000 (21:33 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 4 Jan 2020 02:06:35 +0000 (18:06 -0800)
commit8e6308363bf0e52c10f4c3951c2c4d25341d0133
tree2faecdff3ffbecd22af774ac66b411abfeb34ae9
parent56fc791b3190be2a9a2295b0e6245687645c9b84
st/mesa: Allow ASTC5x5 fallbacks separately from other ASTC LDR formats.

This patch allows us to fake ASTC 5x5 specifically, while leaving the
other ASTC LDR formats with native support.  I plan to use this in iris,
at least for the time being.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_texture.h
src/mesa/state_tracker/tests/st_format.c