tu: Fix VK_FORMAT_A8_UNORM_KHR using UBWC when !has_8bpp_ubwc
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 5 Oct 2023 13:11:35 +0000 (15:11 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 5 Oct 2023 22:36:06 +0000 (22:36 +0000)
commit7caf3e70a1cfcd6c8e00c418d96ff8be0e777ac0
tree9315800af907d7f0f988c8c3ae8f3ca3b434e296
parentac838c1c5c2d9514ff214449510315692d49b30d
tu: Fix VK_FORMAT_A8_UNORM_KHR using UBWC when !has_8bpp_ubwc

Fixes hangs in Anno 1800 with DXVK 2.3

Fixes: 302907e347612c3d748c88aed90fd6ab60a638f5
("tu: Expose VK_KHR_maintenance5")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25567>
src/freedreno/vulkan/tu_image.cc