Mesa (main): tu: Expose VK_KHR_maintenance4
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 5 18:16:04 UTC 2022
Module: Mesa
Branch: main
Commit: b91b90c2565e3a5f15b7eee63cd36970291737ea
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b91b90c2565e3a5f15b7eee63cd36970291737ea
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Fri Mar 18 15:51:40 2022 +0100
tu: Expose VK_KHR_maintenance4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15488>
---
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
More information about the mesa-commit
mailing list