radv: sync before resetting query pools if timestamps have been written
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 9 Oct 2019 12:30:49 +0000 (14:30 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 10 Oct 2019 11:23:20 +0000 (13:23 +0200)
commitdad80eadb2815727ece2827ca29dd648ab1adbb1
tree974340fb9b33e277310d9274b4e68d8ca9178ded
parentaa75be05af5cd261c96eddb8a42efa85bbb1ba89
radv: sync before resetting query pools if timestamps have been written

Otherwise, the GPU might write timestamp queries after the reset
operation. This is similar to other query operations.

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