anv: exclude performance queries from blorp clears
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 11 Apr 2023 18:15:13 +0000 (21:15 +0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 13 Apr 2023 00:44:29 +0000 (00:44 +0000)
commit68bba1539f79eb6a1e616c767ae4a409a35f173a
tree8983fd36301e96555462acc681f37cb03377b0f6
parent7036d1a1553101a8fc9856214a35d81bf21893a7
anv: exclude performance queries from blorp clears

The query buffer contains a batch to implement the multi pass
replay/accumulation of results. So we can't clear it with a memset.

An optimization for later would be to move the batches to the very end
of the query buffer so we can clear the query data without touching
the batches.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 4dc7256bf962 ("anv: reset query pools using blorp")
Reviewed-by: Felix DeGrood <felix.j.degrood@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22421>
src/intel/vulkan/genX_query.c