From: Bas Nieuwenhuizen Date: Thu, 5 Oct 2017 23:12:48 +0000 (+0200) Subject: radv: Enable VK_KHR_maintenance2 extension. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ffb9890efe11aac26a05c5a79e240c6bdeb3ae1;p=mesa.git radv: Enable VK_KHR_maintenance2 extension. Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ae9baf590d5..833f0eed135 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -178,6 +178,10 @@ static const VkExtensionProperties common_device_extensions[] = { .extensionName = VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, .specVersion = 1, }, + { + .extensionName = VK_KHR_MAINTENANCE2_EXTENSION_NAME, + .specVersion = 1, + }, }; static const VkExtensionProperties rasterization_order_extension[] ={ diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py index 21738f4da90..713a98f700f 100644 --- a/src/amd/vulkan/radv_entrypoints_gen.py +++ b/src/amd/vulkan/radv_entrypoints_gen.py @@ -58,6 +58,7 @@ SUPPORTED_EXTENSIONS = [ 'VK_KHR_external_semaphore', 'VK_KHR_external_semaphore_fd', 'VK_KHR_bind_memory2', + 'VK_KHR_maintenance2', ] # We generate a static hash table for entry point lookup