turnip: Disable UBWC on images used as storage images.
authorEric Anholt <eric@anholt.net>
Thu, 16 Jan 2020 00:58:21 +0000 (16:58 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jan 2020 19:29:59 +0000 (19:29 +0000)
commitd1166a3b3a96845ac2173ef56caee55c9a1ca849
tree0cec248ee9054f4f7f3e3acc3696ee0fe47164e4
parente5ce365cdea5f01385aaf56d98618624c67bfa5f
turnip: Disable UBWC on images used as storage images.

The closed GL driver doesn't use UBWC on any storage images.  It does tile
mostly (skipping tiling on writeonly images, it seems), but for freedreno
we've been enabling tiling in all cases and it's fine.  We do need to
disable UBWC, as tests fail otherwise and just plugging in the equivalent
UBWC regs like we were setting up a texture isn't enough.

Fixes dEQP-VK.image.atomic_operations.*

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3433>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3433>
src/freedreno/vulkan/tu_image.c