NVK: report VK_KHR_unified_image_layouts extenstion support

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36298>
This commit is contained in:
X512 2025-07-23 05:25:56 +09:00 committed by Marge Bot
parent efa9b872fb
commit e847d9920c
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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,