From 4ffb9890efe11aac26a05c5a79e240c6bdeb3ae1 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 6 Oct 2017 01:12:48 +0200 Subject: [PATCH] radv: Enable VK_KHR_maintenance2 extension. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 4 ++++ src/amd/vulkan/radv_entrypoints_gen.py | 1 + 2 files changed, 5 insertions(+) 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 -- 2.30.2