radv: flush pending query reset caches before copying results
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 May 2019 08:10:08 +0000 (10:10 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 3 Jun 2019 14:05:46 +0000 (16:05 +0200)
commit445098916a8a80223677c38b496d48920b674aa1
tree9af422880fcd66b7b3be9f60e347d42e75379ab1
parent91672becc3a0403ebf8bc149636ee92646e2df7f
radv: flush pending query reset caches before copying results

From the Vulkan spec 1.1.108:
   "vkCmdCopyQueryPoolResults is guaranteed to see the effect of
    previous uses of vkCmdResetQueryPool in the same queue, without any
    additional synchronization."

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_query.c