tu: Expose VK_KHR_maintenance4

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15488>
This commit is contained in:
Connor Abbott 2022-03-18 15:51:40 +01:00 committed by Marge Bot
parent 5eb63d825f
commit b91b90c256
2 changed files with 3 additions and 2 deletions

View 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)

View 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