Module: Mesa Branch: main Commit: 76b2b6ebe96cdfaf5bfb78352831a6717335f711 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76b2b6ebe96cdfaf5bfb78352831a6717335f711
Author: Mike Blumenkrantz <[email protected]> Date: Mon Apr 25 14:06:12 2022 -0400 vk/cache: unbreak vk_pipeline_cache_create with flags long ago I fixed this in individual drivers now I fix it in all drivers Fixes: 591da987790 ("vulkan: Add a common VkPipelineCache implementation" Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16149> --- src/vulkan/runtime/vk_pipeline_cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vulkan/runtime/vk_pipeline_cache.c b/src/vulkan/runtime/vk_pipeline_cache.c index dbb96ef1fe1..87310eb8dec 100644 --- a/src/vulkan/runtime/vk_pipeline_cache.c +++ b/src/vulkan/runtime/vk_pipeline_cache.c @@ -561,7 +561,6 @@ vk_pipeline_cache_create(struct vk_device *device, info->pCreateInfo != NULL ? info->pCreateInfo : &default_create_info; assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO); - assert(pCreateInfo->flags == 0); cache = vk_object_alloc(device, pAllocator, sizeof(*cache), VK_OBJECT_TYPE_PIPELINE_CACHE);
