commit | 3b11b37a1beed49efda23b4f4a1d34e148ad2af8 | [log] [tgz] |
---|---|---|
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | Tue Oct 06 10:14:33 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Oct 06 15:12:35 2020 +0000 |
tree | cbb408cc112e013594620cedb91048d9ebb16a28 | |
parent | 3f3a5f3489f5df6061ea8e74e697287bbbb4e252 [diff] |
radv: remove VkPipelineCacheCreateInfo::flags assert flags are handled, so this just crashes for no reason Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7030>
diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index a856349..d031129 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c
@@ -511,7 +511,6 @@ 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,