turnip: implement UBWC
authorJonathan Marek <jonathan@marek.ca>
Mon, 18 Nov 2019 21:46:39 +0000 (16:46 -0500)
committerJonathan Marek <jonathan@marek.ca>
Thu, 21 Nov 2019 22:21:57 +0000 (22:21 +0000)
commit773d640efa2665fc50f86cbb7d1e6b9402ba44ad
tree1b345b4bffbbff002dcb226b930cd4f8a0336430
parent91fd83d1420c8e9f94b08356ab48f9ab15329645
turnip: implement UBWC

This enables UBWC for everything except 3D textures.

It breaks many image_to_image copies but those aren't important and it can
be worked around later (image_to_image copy needs to be done in two steps,
decode from the source format and then encode to the destination format).

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_android.c
src/freedreno/vulkan/tu_blit.c
src/freedreno/vulkan/tu_blit.h
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_formats.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_meta_copy.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_wsi.c