anv: Properly handle host query reset of performance queries
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 30 Oct 2019 11:51:08 +0000 (13:51 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 4 Nov 2019 19:04:38 +0000 (19:04 +0000)
commitee6fbb95a74d0dfc00fe77778828c73e6a1447fb
treedfe02b1d85b118fb9bf5f877d35d16b9301283ff
parentecc31d032e5fd2af208bb7764958ab4a16e51147
anv: Properly handle host query reset of performance queries

The host query reset entry point didn't use the availability offset
for performance queries.

To fix this, reorder the availability of performance queries to match
other queries.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2b5f30b1d9 ("anv: implement VK_INTEL_performance_query")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_query.c