zink: rework query pool overflow
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 22 Feb 2023 18:03:47 +0000 (13:03 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Feb 2023 03:15:42 +0000 (03:15 +0000)
commite5d517f36228c0788be58b00bdf23aa02f4dcf0c
tree97da3d79f31e57e86e997f1f36cf2aa32fa5b78c
parent7da78ffb697bfea5c20b31dca635971d00d27b3c
zink: rework query pool overflow

now when a query pool is full, a new query pool can be created and the
previous one can be dropped from reuse to be freed at a later time

this has the added benefit of avoiding yet another place where a renderpass
might get split

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