From 76b2b6ebe96cdfaf5bfb78352831a6717335f711 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 25 Apr 2022 14:06:12 -0400 Subject: [PATCH] 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 Part-of: --- 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);