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

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

anv: remove VkPipelineCacheCreateInfo::flags assert

flags are handled, so this just crashes for no reason

Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7029>

---

 src/intel/vulkan/anv_pipeline_cache.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/intel/vulkan/anv_pipeline_cache.c 
b/src/intel/vulkan/anv_pipeline_cache.c
index 9882c4f2ade..12f9cd3ef01 100644
--- a/src/intel/vulkan/anv_pipeline_cache.c
+++ b/src/intel/vulkan/anv_pipeline_cache.c
@@ -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,

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

Reply via email to