diff --git a/.pick_status.json b/.pick_status.json index b8ce07a64876b..dbd6960f61bb5 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -328,7 +328,7 @@ "description": "vulkan/pipeline_cache: remove a bogus assert when inserting objects", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "cbab396f549fa7c1a948d469fe6b4df18a81adc9" }, diff --git a/src/vulkan/runtime/vk_pipeline_cache.c b/src/vulkan/runtime/vk_pipeline_cache.c index 3ea28b37dc463..b4858c32b6518 100644 --- a/src/vulkan/runtime/vk_pipeline_cache.c +++ b/src/vulkan/runtime/vk_pipeline_cache.c @@ -325,7 +325,7 @@ vk_pipeline_cache_insert_object(struct vk_pipeline_cache *cache, if (found_object->ops != object->ops) { /* The found object in the cache isn't fully formed. Replace it. */ assert(found_object->ops == &raw_data_object_ops); - assert(found_object->ref_cnt == 1 && object->ref_cnt == 1); + assert(object->ref_cnt == 1); entry->key = object; object = found_object; }