cso: unbind fb state when unbinding the context
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 24 Apr 2023 20:23:52 +0000 (16:23 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 3 May 2023 23:45:36 +0000 (23:45 +0000)
commitc686c98a795f6a42bb7844cca022ab22c09b2464
treeab96b683eb1c532f9677d85af728f1cc6374b12c
parentcb865ac72119b7b86998fb12e2431c90e131470e
cso: unbind fb state when unbinding the context

this avoids leaking/ballooning references

cc: mesa-stable

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22673>
src/gallium/auxiliary/cso_cache/cso_context.c