zink: fix GPL lib leaking
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 10 Apr 2023 13:34:17 +0000 (09:34 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 22:22:12 +0000 (22:22 +0000)
commit59bb2f1aacd04c4f87433c4309e5ef045c8f3874
treec9c2c510c2acbb6da6e0adff72577b9c03fe59b1
parenta81a101159f941d991b30a26315621fd7325427b
zink: fix GPL lib leaking

this was improperly added into the conditional for removing a prog from the
ctx hash when it had no relation to that code, leading to refcount
leaks that ended up leaking the whole thing

Fixes: 487ac6dbd60 ("zink: implement cross-program pipeline library sharing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22397>
src/gallium/drivers/zink/zink_compiler.c