util/disk_cache: Move blob_put_cb to the async queue
authorRob Clark <robdclark@chromium.org>
Sat, 1 Apr 2023 14:38:40 +0000 (07:38 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Apr 2023 20:25:04 +0000 (20:25 +0000)
commit66d4dbd960e695d4b7db11a9fd57d3225079605f
treef8e3dc5fd9796c786d64ec2295c2972669ec9b1f
parentdab1bd5a77e82ced0b9446d63a147e79307708f1
util/disk_cache: Move blob_put_cb to the async queue

Move deflate and put to the queue for the blob cache case.  This moves
the overhead out of the app thread when storing new shaders.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22248>
src/util/disk_cache.c