From 3b11b37a1beed49efda23b4f4a1d34e148ad2af8 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 6 Oct 2020 10:14:33 -0400 Subject: [PATCH] radv: remove VkPipelineCacheCreateInfo::flags assert flags are handled, so this just crashes for no reason Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_pipeline_cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index a8563496325..d031129df27 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -511,7 +511,6 @@ VkResult radv_CreatePipelineCache( struct radv_pipeline_cache *cache; assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO); - assert(pCreateInfo->flags == 0); cache = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*cache), 8,