anv: Drop an assert

Ever since Vulkan 1.2, this feature has been in core so enabling the
extension is no longer required.

Fixes: 4ef3f7e3d3 "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>
This commit is contained in:
Jason Ekstrand 2020-04-22 21:18:03 -05:00 committed by Marge Bot
parent b520a58cc1
commit 9c009da208
1 changed files with 0 additions and 1 deletions

View 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)