vulkan/runtime: 0-out pipeline cache object
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 2 May 2022 13:32:36 +0000 (16:32 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 2 May 2022 19:02:42 +0000 (19:02 +0000)
commit1e7ea180268668880b2f3fff853d1f071da04492
tree3a873ff0cd2d333215741d7fc29dff1ce1c601fe
parent7cd9adeb415eb94dd31483ad1dd2ec45b1f4363f
vulkan/runtime: 0-out pipeline cache object

I'm running into crashes because cache->cache_object is uninitialized.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 591da9877900 ("vulkan: Add a common VkPipelineCache implementation")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16275>
src/vulkan/runtime/vk_pipeline_cache.c
src/vulkan/runtime/vk_pipeline_cache.h