zink: merge qbo update copies when possible
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 24 Feb 2023 13:10:46 +0000 (08:10 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 6 Mar 2023 02:22:39 +0000 (02:22 +0000)
commit5374605ea9ee0e3716074fe263ab0c76ee82a570
tree84d1844db767d595d3f2ee4d806b1729afbd8c9e
parent7f956435a039f4729c776a0172bffe7c8b6207b7
zink: merge qbo update copies when possible

if a single query is being started and stopped frequently, update
the internal qbo with a single copy call instead of one copy per result

not actually that useful in practice because of how query pools are shared,
but could help somewhere in theory

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21581>
src/gallium/drivers/zink/zink_query.c