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>
(cherry picked from commit 9c009da208)
This commit is contained in:
Jason Ekstrand 2020-04-22 21:18:03 -05:00 committed by Dylan Baker
parent 2b01692b9e
commit 74e0db6171
2 changed files with 1 additions and 2 deletions

View file

@ -1156,7 +1156,7 @@
"description": "anv: Drop an assert",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "4ef3f7e3d37ece7b4339870282cb52c5e334a68d"
},

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)