anv: remove VkPipelineCacheCreateInfo::flags assert

flags are handled, so this just crashes for no reason

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7029>
This commit is contained in:
Mike Blumenkrantz
2020-10-06 10:14:33 -04:00
parent 9ad4b8b924
commit c416adfb2d

View File

@@ -529,7 +529,6 @@ VkResult anv_CreatePipelineCache(
struct anv_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,