zink: only update usage on buffer rebind if rebinds occurred
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 17 Mar 2022 15:29:30 +0000 (11:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Mar 2022 12:42:31 +0000 (12:42 +0000)
commit8294d454245d4318befac7c8915e55db3d47cefd
tree49ca9acded772b43b2194614324ae401ddc72ad3
parent7da211e24fe14d8b107461bdfcb3b8d67212f88a
zink: only update usage on buffer rebind if rebinds occurred

this is a harmless case, but it's still wrong

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15429>
src/gallium/drivers/zink/zink_context.c