cso: don't destroy CSOs that are saved
authorMarek Olšák <marek.olsak@amd.com>
Sat, 6 Aug 2022 21:30:02 +0000 (17:30 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 04:56:55 +0000 (04:56 +0000)
commit2f0cd4029ce3fb631b994d4fadeba7a864b20f19
tree4410c5ba9201d6f929f4aca8909a9a4ef5747db1
parent94240f561c8665fba780ac7c1a68bf076de64231
cso: don't destroy CSOs that are saved

I think this can't happen in practice, but better safe than sorry.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19129>
src/gallium/auxiliary/cso_cache/cso_context.c