From 74e0db6171cd769505e3b09f1362bfc1af17341c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 22 Apr 2020 21:18:03 -0500 Subject: [PATCH] anv: Drop an assert Ever since Vulkan 1.2, this feature has been in core so enabling the extension is no longer required. Fixes: 4ef3f7e3d37e "anv: Enable Vulkan 1.2 support" Reviewed-by: Caio Marcelo de Oliveira Filho Part-of: (cherry picked from commit 9c009da208b77496011f149fd1e289656da0f226) --- .pick_status.json | 2 +- src/intel/vulkan/anv_device.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 2db9c1ed217..b142b535575 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1156,7 +1156,7 @@ "description": "anv: Drop an assert", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "4ef3f7e3d37ece7b4339870282cb52c5e334a68d" }, diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3cd3b0f7906..2da193a2932 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -4299,7 +4299,6 @@ VkResult anv_CreateFramebuffer( } framebuffer->attachment_count = pCreateInfo->attachmentCount; } else { - assert(device->enabled_extensions.KHR_imageless_framebuffer); framebuffer = vk_alloc2(&device->alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); if (framebuffer == NULL)