radv: Include flushes in the barrier.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 1 Sep 2020 15:09:19 +0000 (17:09 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 28 Sep 2020 15:46:08 +0000 (15:46 +0000)
commitcc731821527acd4469775990d24952f40ffe22f4
treee951473eebad098b78ebcf9cd070da7f2e6b6225
parenteff6710aabbc981f9b48066b3a43358cbc00569b
radv: Include flushes in the barrier.

Since the flushes really happen on the next draw delay the barrier
end to include the flushes.

This fixes the barrier duration in RGP.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6550>
src/amd/vulkan/layers/radv_sqtt_layer.c
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c