From b91b90c2565e3a5f15b7eee63cd36970291737ea Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 18 Mar 2022 15:51:40 +0100 Subject: [PATCH] tu: Expose VK_KHR_maintenance4 Part-of: --- docs/features.txt | 2 +- src/freedreno/vulkan/tu_device.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 9ee43f92dd1..baf653b0994 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index e3522a38b2b..56e28abf3d9 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -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