turnip: add emit renderpass cache flushes for sysmem 3D CmdClearAttachments
authorJonathan Marek <jonathan@marek.ca>
Thu, 11 Jun 2020 13:49:23 +0000 (09:49 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Jun 2020 15:09:07 +0000 (15:09 +0000)
commitc93753e6181b82988c84e9af43d3aa377a6eae36
treed4b5623cf366a3497eb25bd74649fa593c701f3d
parent72d7df40a5e5b50330c4d4168aa681bae2b61b22
turnip: add emit renderpass cache flushes for sysmem 3D CmdClearAttachments

This clear path behaves like a draw, it needs the same flush as tu_draw.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5426>
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_private.h