Module: Mesa
Branch: main
Commit: 5edcab3385effe0fe398aef65c73832e020a5467
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5edcab3385effe0fe398aef65c73832e020a5467

Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Aug 23 16:02:08 2023 -0400

lavapipe: don't advertise UNDEFINED layout for HIC

this is illegal

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24775>

---

 src/gallium/frontends/lavapipe/lvp_device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/frontends/lavapipe/lvp_device.c 
b/src/gallium/frontends/lavapipe/lvp_device.c
index ab699839352..af235d11823 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,

Reply via email to