summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-10-06 01:12:48 +0200
committerBas Nieuwenhuizen <[email protected]>2017-10-06 01:41:29 +0200
commit4ffb9890efe11aac26a05c5a79e240c6bdeb3ae1 (patch)
tree3c9681429ca4a8b4e94973fcc6e6059359a2c251 /src
parent0c90ca7d37e479dbf1099321ec5cb53662b98744 (diff)
radv: Enable VK_KHR_maintenance2 extension.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_device.c4
-rw-r--r--src/amd/vulkan/radv_entrypoints_gen.py1
2 files changed, 5 insertions, 0 deletions
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