mesa/st: do not fall back to uncompressed for rgtc
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 23 Aug 2022 12:48:39 +0000 (14:48 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 15 Sep 2022 08:16:01 +0000 (08:16 +0000)
commitf25875ce180573fccd46dcc693c4331c80b51401
treefcc401dcb76c391475da0eb6efd2966146f7c736
parent1735053de5fe77413df63a68382a9e381a525ee7
mesa/st: do not fall back to uncompressed for rgtc

This logic doesn't really do what it pretends to; we don't expose the
RGTC features unless we actually have RGTC support. This is about to
change, but for that logic to work, we need to be able to tell if we're
using a fallback-format or not, and we can't do that unless we keep the
format as RGTC.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Eric Engestrom <eric@igalia.com>
Tested-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18248>
src/mesa/state_tracker/st_format.c