From a333e7a6b815085c87327b0b7ec1bde3fc70e4d4 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 25 Jun 2025 10:50:48 -0400 Subject: [PATCH] lavapipe: VK_KHR_unified_image_layouts Part-of: --- docs/features.txt | 2 +- src/gallium/frontends/lavapipe/lvp_device.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 1a7e95e963c..a5e0bd85d8d 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -574,7 +574,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_surface_protected_capabilities DONE (anv, hk, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_swapchain DONE (anv, dzn, hasvk, hk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_swapchain_mutable_format DONE (anv, hasvk, hk, lvp, nvk, radv, tu, v3dv, vn) - VK_KHR_unified_image_layouts DONE (panvk, radv/gfx11+, tu) + VK_KHR_unified_image_layouts DONE (lvp, panvk, radv/gfx11+, tu) VK_KHR_wayland_surface DONE (anv, dzn, hk, lvp, nvk, panvk, radv, tu, v3dv, vn) VK_KHR_workgroup_memory_explicit_layout DONE (anv, hk, nvk, hasvk, radv, tu, v3dv, vn) VK_KHR_win32_keyed_mutex not started diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 0b076beed5b..cf574e12395 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -192,6 +192,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported = .KHR_synchronization2 = true, .KHR_timeline_semaphore = true, .KHR_uniform_buffer_standard_layout = true, + .KHR_unified_image_layouts = true, .KHR_variable_pointers = true, .KHR_vertex_attribute_divisor = true, .KHR_vulkan_memory_model = true, @@ -792,6 +793,10 @@ lvp_get_features(const struct lvp_physical_device *pdevice, .workgroupMemoryExplicitLayoutScalarBlockLayout = true, .workgroupMemoryExplicitLayout8BitAccess = true, .workgroupMemoryExplicitLayout16BitAccess = true, + + /* VK_KHR_unified_image_layouts */ + .unifiedImageLayouts = true, + .unifiedImageLayoutsVideo = true, }; }