radv: emit PIPELINESTAT_{START,STOP} events for pipeline stats queries
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Jun 2018 17:16:43 +0000 (19:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Jun 2018 16:23:16 +0000 (18:23 +0200)
commitfa42fa1a60debf26cdf86f40c0c805b0fc3b444f
tree85282c42ab1e02cb43f2b6459bdb6ada50d7183a
parentab2643e4b06f63c93a57624003679903442634a8
radv: emit PIPELINESTAT_{START,STOP} events for pipeline stats queries

Ported from RadeonSI.
This appears to fix some random fails with:
dEQP-VK.query_pool.statistics_query.*

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