freedreno+turnip: Add has_8bpp_ubwc
authorRob Clark <robdclark@chromium.org>
Thu, 8 Jul 2021 17:43:08 +0000 (10:43 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Jul 2021 01:58:00 +0000 (01:58 +0000)
commita4559c9550e5efff6e2ebc4c55fb158b4f932910
treed953aec9c2c6fcbd7e421d7ac705a1a1f320e274
parente552784e68efd771342fad473a48dc6e1eeb8cee
freedreno+turnip: Add has_8bpp_ubwc

Newer a6xx devices seem to drop 8b/pixel UBWC support.

The turnip part was adapted from Jonathans patch on !10892

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11790>
src/freedreno/common/freedreno_dev_info.h
src/freedreno/common/freedreno_devices.py
src/freedreno/vulkan/tu_formats.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_private.h
src/gallium/drivers/freedreno/a6xx/fd6_resource.c