turnip: new clear/blit implementation with shader path fallback
authorJonathan Marek <jonathan@marek.ca>
Fri, 13 Mar 2020 15:57:23 +0000 (11:57 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Apr 2020 14:43:02 +0000 (14:43 +0000)
commit2e084c2cb3699e846753b31bd63ed6cd18cd73f8
tree1712015134c03da51354fed4885ce69c67113838
parentde6967488aa0b1a1df92741d1c045d8479d3ad7e
turnip: new clear/blit implementation with shader path fallback

The shader path is used to implement the following cases:
* stencil aspect mask on D24S8 (for image_to_buffer,buffer_to_image)
* clear/copy msaa destination (2D engine can't have msaa dest)

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3783>
15 files changed:
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/meson.build
src/freedreno/vulkan/tu_blit.c [deleted file]
src/freedreno/vulkan/tu_blit.h [deleted file]
src/freedreno/vulkan/tu_clear_blit.c [new file with mode: 0644]
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_formats.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_meta_blit.c [deleted file]
src/freedreno/vulkan/tu_meta_buffer.c [deleted file]
src/freedreno/vulkan/tu_meta_clear.c [deleted file]
src/freedreno/vulkan/tu_meta_copy.c [deleted file]
src/freedreno/vulkan/tu_meta_resolve.c [deleted file]
src/freedreno/vulkan/tu_pass.c
src/freedreno/vulkan/tu_private.h