turnip: fix sysmem CmdClearAttachments 3D fallback breaking GMEM path flush
authorJonathan Marek <jonathan@marek.ca>
Wed, 8 Jul 2020 11:46:09 +0000 (07:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 Aug 2020 22:38:22 +0000 (22:38 +0000)
commit9b6486bd3d927e34befb2c5d15261bd5f7ae52c1
tree690db80913278387d2960d8d8741f8f0fa85d971
parent611f654fcf715364b65ca690c0521c3e3038824f
turnip: fix sysmem CmdClearAttachments 3D fallback breaking GMEM path flush

It was clearing the flush bits, which are used by both GMEM/SYSMEM paths,
but emitting the flushes inside the cond_exec, where they would only run
for the sysmem path.

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