radv: do not set pending_reset_query in BeginCommandBuffer()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Mar 2018 09:53:49 +0000 (10:53 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 2 Mar 2018 08:44:12 +0000 (09:44 +0100)
commitc133a3411bbf47c2ba7d9cdae7e35a64fe276068
treef59f2ab26291a215350f2338f45e419a4b24f91b
parentbf2af063c3ac1ef7b948ddfb203aea04f857fc0f
radv: do not set pending_reset_query in BeginCommandBuffer()

This is just useless for two reasons:
1) flush_bits is not set accordingly, so nothing will be flushed
   in BeginQuery().
2) we always flush caches in EndCommandBuffer(), so if a reset
   is done in a previous command buffer we are safe.

Cc: "18.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c