turnip: flush cache for dstBuffer in vkCmdCopyQueryPoolResults
authorYiwei Zhang <zzyiwei@chromium.org>
Wed, 19 Jul 2023 23:10:22 +0000 (23:10 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 16:28:17 +0000 (16:28 +0000)
commita89752d6300a850537b7f509b5662984b8aae072
treec6d49dc249c7626e5a610632090d8f0f7a314547
parent950a0b6a6359e46f819be5540cce6a8bea35d1c5
turnip: flush cache for dstBuffer in vkCmdCopyQueryPoolResults

There can be other writes to the dstBuffer gated by proper barriers
beforehand.

TEST=dEQP-VK.pipeline.*.timestamp.* with Venus on Turnip

Fixes: 487aa807bd1b ("tu: Rewrite flushing to use barriers")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24245>
src/freedreno/vulkan/tu_cmd_buffer.cc
src/freedreno/vulkan/tu_cmd_buffer.h
src/freedreno/vulkan/tu_query.cc