Module: Mesa
Branch: main
Commit: cd543c94fda257636077dc015ea113ceac1c0dc9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd543c94fda257636077dc015ea113ceac1c0dc9

Author: Faith Ekstrand <faith.ekstr...@collabora.com>
Date:   Thu Nov 16 18:46:12 2023 -0600

nvk: Advertise VK_KHR_synchronization2

We've already got everything, we just need to turn it on.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9657
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26245>

---

 docs/features.txt                        | 2 +-
 src/nouveau/vulkan/nvk_physical_device.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/features.txt b/docs/features.txt
index 77208367d7f..f5bfdb7fe35 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -482,7 +482,7 @@ Vulkan 1.3 -- all DONE: anv, radv, tu, lvp, vn
   VK_KHR_shader_integer_dot_product                     DONE (anv, dzn, hasvk, 
lvp, radv, tu, v3dv, vn)
   VK_KHR_shader_non_semantic_info                       DONE (anv, hasvk, nvk, 
radv, tu, v3dv, vn)
   VK_KHR_shader_terminate_invocation                    DONE (anv, hasvk, lvp, 
radv, tu, vn)
-  VK_KHR_synchronization2                               DONE (anv, dzn, hasvk, 
lvp, panvk, radv, tu, v3dv, vn)
+  VK_KHR_synchronization2                               DONE (anv, dzn, hasvk, 
lvp, nvk, panvk, radv, tu, v3dv, vn)
   VK_KHR_zero_initialize_workgroup_memory               DONE (anv, hasvk, lvp, 
radv, tu, v3dv, vn)
   VK_EXT_4444_formats                                   DONE (anv, hasvk, lvp, 
nvk, radv, tu, v3dv, vn)
   VK_EXT_extended_dynamic_state                         DONE (anv, hasvk, lvp, 
nvk, radv, tu, vn)
diff --git a/src/nouveau/vulkan/nvk_physical_device.c 
b/src/nouveau/vulkan/nvk_physical_device.c
index 0acbb70dd18..60d037ea6f2 100644
--- a/src/nouveau/vulkan/nvk_physical_device.c
+++ b/src/nouveau/vulkan/nvk_physical_device.c
@@ -91,6 +91,7 @@ nvk_get_device_extensions(const struct nv_device_info *info,
       .KHR_swapchain = true,
       .KHR_swapchain_mutable_format = true,
 #endif
+      .KHR_synchronization2 = true,
       .KHR_uniform_buffer_standard_layout = true,
       .KHR_variable_pointers = true,
       .KHR_workgroup_memory_explicit_layout = true,
@@ -249,6 +250,7 @@ nvk_get_device_features(const struct nv_device_info *info,
       .privateData = true,
       .shaderDemoteToHelperInvocation = true,
       .shaderTerminateInvocation = true,
+      .synchronization2 = true,
       .dynamicRendering = true,
       .maintenance4 = true,
 

Reply via email to