anv: use a query filled by the perf code
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 5 Mar 2020 08:54:46 +0000 (10:54 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 20 May 2020 11:02:27 +0000 (14:02 +0300)
commit63c193e921e5936c0d4a906285627ac11fd267f7
tree731566a6f9c61a8e0d42aecc8ef8ffa673af9c9e
parent93924ab0917b52be1a3001509b229c87b7ee6e54
anv: use a query filled by the perf code

We're about to use the offset fields from the query object. We can't
just use a made up object.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2775>
src/intel/vulkan/genX_query.c