lavapipe: don't advertise UNDEFINED layout for HIC

this is illegal

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24775>
This commit is contained in:
Mike Blumenkrantz 2023-08-23 16:02:08 -04:00 committed by Marge Bot
parent 943909514e
commit 5edcab3385

View file

@ -596,7 +596,6 @@ lvp_get_features(const struct lvp_physical_device *pdevice,
extern unsigned lp_native_vector_width;
static VkImageLayout lvp_host_copy_image_layouts[] = {
VK_IMAGE_LAYOUT_UNDEFINED,
VK_IMAGE_LAYOUT_GENERAL,
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL,