aux/cso: split cso_destroy_context into unbind and a destroy functions
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 4 Jun 2021 13:18:02 +0000 (09:18 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 11 Jun 2021 17:19:36 +0000 (17:19 +0000)
commita73cb106a6771173a138f99ec063808257cd12bf
treeccc53e4d4b0ceaf298412c16106a0a707dde268c
parent3b66d70fba68496ba26b7d535da5979f36bd424d
aux/cso: split cso_destroy_context into unbind and a destroy functions

this makes the unbind function reusable

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11071>
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h