From: Mike Blumenkrantz Date: Wed, 23 Aug 2023 20:02:08 +0000 (-0400) Subject: lavapipe: don't advertise UNDEFINED layout for HIC X-Git-Tag: upstream/23.3.3~2239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5edcab3385effe0fe398aef65c73832e020a5467;p=platform%2Fupstream%2Fmesa.git lavapipe: don't advertise UNDEFINED layout for HIC this is illegal Part-of: --- diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index ab69983..af235d1 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -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,