tu: Do not flush ccu in clear/blits during renderpass
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 5 May 2022 17:29:05 +0000 (20:29 +0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 May 2022 08:07:50 +0000 (08:07 +0000)
commit187d3df52c77b92bb8002f90818b0a9fce8a7e1a
treea327e94fb213268f694f8d095f3d5ae07ee7b451
parent66888d5121947b096c36610c4d787c008abbcb13
tu: Do not flush ccu in clear/blits during renderpass

For clear/blits ccu flush not only worse for perf, but also messes up
flush_bits when executed in a conditional set of commands.

We already don't flush for 3d blits.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6419

Fixes: 487aa807bd1b70602fcb6fbdabd101d4cff7c07b
("tu: Rewrite flushing to use barriers")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16352>
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c