Module: Mesa
Branch: master
Commit: 3b11b37a1beed49efda23b4f4a1d34e148ad2af8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b11b37a1beed49efda23b4f4a1d34e148ad2af8

Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Oct  6 10:14:33 2020 -0400

radv: remove VkPipelineCacheCreateInfo::flags assert

flags are handled, so this just crashes for no reason

Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7030>

---

 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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to