kk: Support VK_KHR_unified_image_layouts
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Metal has no concept of image layouts, and we don't care about them.

Reviewed-by: Aitor Camacho <aitor@lunarg.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41613>
This commit is contained in:
squidbus 2026-05-15 18:10:45 -07:00 committed by Marge Bot
parent f52f7bf8d5
commit b1c72223af
2 changed files with 6 additions and 1 deletions

View file

@ -594,7 +594,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_swapchain DONE (anv, dzn, hasvk, hk, kk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
VK_KHR_swapchain_maintenance1 DONE (anv, hk, lvp, nvk, panvk, radv, tu, v3dv, vn)
VK_KHR_swapchain_mutable_format DONE (anv, hasvk, hk, kk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
VK_KHR_unified_image_layouts DONE (lvp, nvk, panvk, radv/gfx11+, tu)
VK_KHR_unified_image_layouts DONE (kk, lvp, nvk, panvk, radv/gfx11+, tu)
VK_KHR_wayland_surface DONE (anv, dzn, hk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
VK_KHR_win32_keyed_mutex not started
VK_KHR_win32_surface DONE (dzn, lvp)

View file

@ -150,6 +150,7 @@ kk_get_device_extensions(const struct kk_instance *instance,
.KHR_swapchain = true,
.KHR_swapchain_mutable_format = true,
#endif
.KHR_unified_image_layouts = true,
.KHR_workgroup_memory_explicit_layout = true,
.EXT_attachment_feedback_loop_layout = true,
@ -351,6 +352,10 @@ kk_get_device_features(
/* VK_KHR_shader_relaxed_extended_instruction */
.shaderRelaxedExtendedInstruction = true,
/* VK_KHR_unified_image_layouts */
.unifiedImageLayouts = true,
.unifiedImageLayoutsVideo = false,
/* VK_KHR_workgroup_memory_explicit_layout */
.workgroupMemoryExplicitLayout = true,
.workgroupMemoryExplicitLayoutScalarBlockLayout = true,