turnip: workaround for a630 d24_unorm_s8_uint fails
authorJonathan Marek <jonathan@marek.ca>
Thu, 11 Jun 2020 21:57:54 +0000 (17:57 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 Aug 2020 21:07:30 +0000 (21:07 +0000)
commit5afaec3741384da0702d3bf75aebd0af6fd07d8b
treef9189356d455e8f7b763841941e78893bb531634
parent6fc52739bb49bd2ac94e909dcfe05caea49aa762
turnip: workaround for a630 d24_unorm_s8_uint fails

A630 doesn't have the HW format we use to sample stencil, so it needs a
workaround. It also has a bug around the AS_R8G8B8A8 format, which doesn't
work when UBWC is disabled, so use 8_8_8_8_UNORM instead when UBWC is
disabled (using AS_R8G8B8A8 or 8_8_8_8_UNORM should only matter with UBWC)

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5438>
.gitlab-ci/deqp-freedreno-a630-bypass-fails.txt
.gitlab-ci/deqp-freedreno-a630-fails.txt
src/freedreno/registers/adreno/a6xx.xml
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_formats.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_private.h