tu/blit: Support blits in secondary cmdstreams
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 4 Feb 2020 12:26:59 +0000 (13:26 +0100)
committerJonathan Marek <jonathan@marek.ca>
Thu, 13 Feb 2020 02:31:44 +0000 (21:31 -0500)
commita5fb515301251b476800a1560f9f8edc8ff325d6
tree490f192bf6f163413f500c72617a165d052ef198
parenta94be3da84277701b5d74b326e5364cb854a19f1
tu/blit: Support blits in secondary cmdstreams

For sysmem rendering we'll have to emit a delayed clear IB to implement
LOAD_OP_*, similar to the existing tile_load_ib.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3713>
src/freedreno/vulkan/tu_blit.c
src/freedreno/vulkan/tu_blit.h
src/freedreno/vulkan/tu_meta_blit.c
src/freedreno/vulkan/tu_meta_buffer.c
src/freedreno/vulkan/tu_meta_clear.c
src/freedreno/vulkan/tu_meta_copy.c
src/freedreno/vulkan/tu_meta_resolve.c