Module: Mesa
Branch: master
Commit: 4ffb9890efe11aac26a05c5a79e240c6bdeb3ae1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ffb9890efe11aac26a05c5a79e240c6bdeb3ae1

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Fri Oct  6 01:12:48 2017 +0200

radv: Enable VK_KHR_maintenance2 extension.

Reviewed-by: Dave Airlie <[email protected]>

---

 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 ae9baf590d..833f0eed13 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 21738f4da9..713a98f700 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to