vulkan/pipeline_cache: use vk_pipeline_cache_create_and_insert_object() during vk_pip...
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 16 Mar 2023 19:24:31 +0000 (20:24 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 09:14:30 +0000 (09:14 +0000)
commita6360a3203189b4d0e2d1169c5978796afe6d040
tree28c953f7766bbb7bb8d4a7c73d21a776768e4c42
parentf524f91d6fabf77f46f92f4ae3fb5a5ac57b20d7
vulkan/pipeline_cache: use vk_pipeline_cache_create_and_insert_object() during vk_pipeline_cache_load()

This avoids an extra serialize() step for disk-cache insertion.

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