summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_entrypoints_gen.py
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-02-27 19:14:00 +0000
committerDave Airlie <[email protected]>2017-07-21 21:31:54 +0100
commiteaa56eab6da565c7bc84419c025c7c9bc90cf87a (patch)
tree09e2adf2a642a3879a4992157ba6293d677214c9 /src/amd/vulkan/radv_entrypoints_gen.py
parentb5670beb31d3e6cfb8fff6f14e5fd5ec03ec16e9 (diff)
radv: initial support for shared semaphores (v2)
This adds support for sharing semaphores using kernel syncobjects. Syncobj backed semaphores are used for any semaphore which is created with external flags, and when a semaphore is imported, otherwise we use the current non-kernel semaphores. Temporary imports from syncobj fd are also available, these just override the current user until the next wait, when the temp syncobj is dropped. v2: allocate more chunks upfront, fix off by one after previous refactor of syncobj setup, remove unnecessary null check. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_entrypoints_gen.py')
-rw-r--r--src/amd/vulkan/radv_entrypoints_gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py
index 61b23281501..9f5a4f3ee39 100644
--- a/src/amd/vulkan/radv_entrypoints_gen.py
+++ b/src/amd/vulkan/radv_entrypoints_gen.py
@@ -49,6 +49,9 @@ supported_extensions = [
'VK_KHR_external_memory_fd',
'VK_KHR_storage_buffer_storage_class',
'VK_KHR_variable_pointers',
+ 'VK_KHR_external_semaphore_capabilities',
+ 'VK_KHR_external_semaphore',
+ 'VK_KHR_external_semaphore_fd'
]
# We generate a static hash table for entry point lookup