anv: fix availability for copying timestamp query results
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 1 Jun 2021 16:26:27 +0000 (12:26 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Jun 2021 19:52:24 +0000 (19:52 +0000)
commit5515d3aec5ebe4e7dd7428aefdc2c1933414cd92
tree8cad3d279263e52e68560923fd2240de367ba9a0
parent478ae974a15a729f8f3a779948603fe39e0614fc
anv: fix availability for copying timestamp query results

idx here is the index of the value being written, so if it isn't used/incremented
when the query result is written, the availability result will clobber it and
be written to the same buffer offset

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11116>
src/intel/vulkan/genX_query.c