mesa/st: Enable compute-based transcoding to DXT5
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 22 Jul 2022 00:28:22 +0000 (17:28 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Feb 2023 01:40:47 +0000 (01:40 +0000)
commitfdabf886be7f6f00d854a7dfa995c3c5b18f0033
tree577a640f61d02dcc54510f88ba7f701243c15c17
parent6d57614fd01228f11a7cf77b56fbe7514790d759
mesa/st: Enable compute-based transcoding to DXT5

By enabling this path, we get a 56% decrease in upload time on a texture
upload microbenchmark. This was measured on an Ice Lake with an iris
driver that tries to use the compressed format fallback path.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19827>
src/mesa/state_tracker/st_cb_texture.c