From e847d9920ca5b1a05eb16af1ca7f29750c50408b Mon Sep 17 00:00:00 2001 From: X512 Date: Wed, 23 Jul 2025 05:25:56 +0900 Subject: [PATCH] NVK: report `VK_KHR_unified_image_layouts` extenstion support Reviewed-by: Faith Ekstrand Part-of: --- docs/features.txt | 2 +- src/nouveau/vulkan/nvk_physical_device.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index a61ea4aba4b..9edb3f968c0 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -575,7 +575,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 (lvp, panvk, radv/gfx11+, tu) + VK_KHR_unified_image_layouts DONE (lvp, nvk, 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/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index a958372f09f..c1535375474 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -180,6 +180,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance, #endif .KHR_synchronization2 = true, .KHR_timeline_semaphore = true, + .KHR_unified_image_layouts = true, .KHR_uniform_buffer_standard_layout = true, .KHR_variable_pointers = true, .KHR_vertex_attribute_divisor = true, @@ -493,6 +494,10 @@ nvk_get_device_features(const struct nv_device_info *info, /* VK_KHR_shader_subgroup_uniform_control_flow */ .shaderSubgroupUniformControlFlow = true, + /* VK_KHR_unified_image_layouts */ + .unifiedImageLayouts = true, + .unifiedImageLayoutsVideo = true, + /* VK_KHR_workgroup_memory_explicit_layout */ .workgroupMemoryExplicitLayout = true, .workgroupMemoryExplicitLayoutScalarBlockLayout = true,