anv: Drop an assert
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 23 Apr 2020 02:18:03 +0000 (21:18 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 11:37:03 +0000 (11:37 +0000)
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 <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4694>

src/intel/vulkan/anv_device.c

index caa622d5f4e7bd58bae5b35b23ee08b27fb1130e..7d5b3a2a839ed25d4867c741b89930219214f5d7 100644 (file)
@@ -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)