vulkan/pipeline_cache: implement vk_pipeline_cache_create_and_insert_object()
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 16 Mar 2023 19:05:36 +0000 (20:05 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 09:14:30 +0000 (09:14 +0000)
commitf524f91d6fabf77f46f92f4ae3fb5a5ac57b20d7
tree772430e9afca51233408093a8c9c2267eb4687ba
parent84fa7b174545e7124ae3c7a06be4444c5bfc18ae
vulkan/pipeline_cache: implement vk_pipeline_cache_create_and_insert_object()

This function directly inserts the serialized data into the disk cache
before calling deserialize() and inserting into the pipeline cache.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21967>
src/vulkan/runtime/vk_pipeline_cache.c
src/vulkan/runtime/vk_pipeline_cache.h