zink: add more locking for pipeline cache
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 8 Aug 2023 13:25:35 +0000 (09:25 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Aug 2023 23:13:46 +0000 (23:13 +0000)
commit1c1e09249c4b5850c98cb6adf8c2d128c862920c
treecc26f0b112d0ef898fb926e851a1bf23ea37f088
parenteea408e5637c5d78215c5be672edf3d87e5fc822
zink: add more locking for pipeline cache

this ensures the size remains constant for entry updates

fixes #9494

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24559>
src/gallium/drivers/zink/zink_pipeline.c
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_types.h