From 879dd9ca8c37b2cedcd8c0b7626e36e57fd1faa3 Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Mon, 1 Jun 2026 11:40:17 +0200 Subject: [PATCH] tu: Advertise VK_KHR_internally_synchronized_queues This is implemented in common code in d8ef386f987 ("vulkan: add support for VK_KHR_internally_synchronized_queues"). Passes dEQP-VK.synchronization2.internally_synchronized_queues.* Signed-off-by: Valentine Burley Part-of: --- docs/features.txt | 2 +- src/freedreno/vulkan/tu_device.cc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 19d8802091a..b1fa507ff15 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -560,7 +560,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_get_display_properties2 DONE (anv, hasvk, hk, kk, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_get_surface_capabilities2 DONE (anv, dzn, hasvk, hk, kk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_incremental_present DONE (anv, hasvk, hk, lvp, nvk, pvr, radv, tu, v3dv, vn) - VK_KHR_internally_synchronized_queues DONE (anv, radv) + VK_KHR_internally_synchronized_queues DONE (anv, radv, tu) VK_KHR_maintenance7 DONE (anv, hk, kk, lvp, nvk, panvk/v10+, radv, tu, vn) VK_KHR_maintenance8 DONE (anv, hk, kk, lvp, nvk, panvk/v10+, radv, tu) VK_KHR_maintenance9 DONE (anv, hk, kk, lvp, nvk, panvk, radv) diff --git a/src/freedreno/vulkan/tu_device.cc b/src/freedreno/vulkan/tu_device.cc index f7b98f87cdc..d8d63e133d9 100644 --- a/src/freedreno/vulkan/tu_device.cc +++ b/src/freedreno/vulkan/tu_device.cc @@ -204,6 +204,7 @@ get_device_extensions(const struct tu_physical_device *device, .KHR_incremental_present = true, #endif .KHR_index_type_uint8 = true, + .KHR_internally_synchronized_queues = true, .KHR_line_rasterization = !device->info->props.is_a702, .KHR_load_store_op_none = true, .KHR_maintenance1 = true, @@ -551,6 +552,9 @@ tu_get_features(struct tu_physical_device *pdevice, /* VK_KHR_index_type_uint8 */ features->indexTypeUint8 = true; + /* VK_KHR_internally_synchronized_queues */ + features->internallySynchronizedQueues = true; + /* VK_KHR_line_rasterization */ features->rectangularLines = !pdevice->info->props.is_a702; features->bresenhamLines = true;