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: 591da98779 ("vulkan: Add a common VkPipelineCache implementation"

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16149>
This commit is contained in:
Mike Blumenkrantz
2022-04-25 14:06:12 -04:00
committed by Marge Bot
parent 1755730362
commit 76b2b6ebe9
-1
View File
@@ -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);