zink: try to prune resources from barrier jit on fb unbind
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 7 Apr 2023 21:06:45 +0000 (17:06 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 14:44:13 +0000 (14:44 +0000)
commit75a7dcf35faab45c5cd09f030f7ac9ef682872d9
tree86aef8abf6be8173378932e195ea2c5daf31161f
parent871aa64e53e0913f1d187cd3aa5958c1fcf95c78
zink: try to prune resources from barrier jit on fb unbind

if a resource has no binds remaining then it should not remain in
the queue for barrier updates on the next draw

cc: mesa-stable

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