tu: Expose VK_KHR_maintenance4
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 18 Mar 2022 14:51:40 +0000 (15:51 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Apr 2022 17:46:35 +0000 (17:46 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15488>

docs/features.txt
src/freedreno/vulkan/tu_device.c

index 9ee43f92dd161d788d1d8232544a22508d40cc90..baf653b09940ce196d05df95ae94de4adb68af5a 100644 (file)
@@ -475,7 +475,7 @@ Vulkan 1.3 -- all DONE: anv, radv, lvp
   VK_KHR_copy_commands2                                 DONE (anv, lvp, radv, tu, v3dv)
   VK_KHR_dynamic_rendering                              DONE (anv, lvp, radv)
   VK_KHR_format_feature_flags2                          DONE (anv, radv, tu)
-  VK_KHR_maintenance4                                   DONE (anv, radv)
+  VK_KHR_maintenance4                                   DONE (anv, radv, tu)
   VK_KHR_shader_non_semantic_info                       DONE (anv, radv, tu, v3dv)
   VK_KHR_shader_terminate_invocation                    DONE (anv, radv, tu)
   VK_KHR_synchronization2                               DONE (anv, radv)
index e3522a38b2b472d4d81faabc075092a0db26d203..56e28abf3d9eeef358240a33e8e1f407287f71fa 100644 (file)
@@ -139,6 +139,7 @@ get_device_extensions(const struct tu_physical_device *device,
       .KHR_maintenance1 = true,
       .KHR_maintenance2 = true,
       .KHR_maintenance3 = true,
+      .KHR_maintenance4 = true,
       .KHR_multiview = true,
       .KHR_performance_query = device->instance->debug_flags & TU_DEBUG_PERFC,
       .KHR_pipeline_executable_properties = true,
@@ -606,7 +607,7 @@ tu_get_physical_device_features_1_3(struct tu_physical_device *pdevice,
    features->shaderZeroInitializeWorkgroupMemory = true;
    features->dynamicRendering                    = false;
    features->shaderIntegerDotProduct             = true;
-   features->maintenance4                        = false;
+   features->maintenance4                        = true;
 }
 
 void