summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-11 15:01:46 +0100
committerEric Engestrom <[email protected]>2019-07-10 11:27:51 +0000
commit0fd30c1011b6a57fc36eb74ef2a0f3e69c74fbea (patch)
tree8f735e7ca72b81b75318d3d4ed167ab57d91c355 /src
parent915eab5e875ef5d899d8680d321c81e3529fda0c (diff)
vulkan: add symbols file
According to the Vulkan ICD spec [1], these two symbols must be exposed: - vk_icdGetInstanceProcAddr - vk_icdNegotiateLoaderICDInterfaceVersion and this one is optional: - vk_icdGetPhysicalDeviceProcAddr [1] https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by Dylan Baker <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/meson.build1
-rw-r--r--src/vulkan/vulkan-icd-symbols.txt14
2 files changed, 15 insertions, 0 deletions
diff --git a/src/vulkan/meson.build b/src/vulkan/meson.build
index afd2911e83d..7900938b355 100644
--- a/src/vulkan/meson.build
+++ b/src/vulkan/meson.build
@@ -19,6 +19,7 @@
# SOFTWARE.
vk_api_xml = files('registry/vk.xml')
+vulkan_icd_symbols = files('vulkan-icd-symbols.txt')
inc_vulkan_wsi = include_directories('wsi')
diff --git a/src/vulkan/vulkan-icd-symbols.txt b/src/vulkan/vulkan-icd-symbols.txt
new file mode 100644
index 00000000000..feca419c0ca
--- /dev/null
+++ b/src/vulkan/vulkan-icd-symbols.txt
@@ -0,0 +1,14 @@
+# See loader/LoaderAndLayerInterface.md in
+# https://github.com/KhronosGroup/Vulkan-Loader
+# and vulkan/vk_icd.h
+
+# Version 1 - Add support for vk_icdGetInstanceProcAddr.
+vk_icdGetInstanceProcAddr
+
+# Version 2 - Add Loader/ICD Interface version negotiation
+# via vk_icdNegotiateLoaderICDInterfaceVersion.
+vk_icdNegotiateLoaderICDInterfaceVersion
+
+# Version 4 - Add unknown physical device extension querying via
+# vk_icdGetPhysicalDeviceProcAddr.
+(optional) vk_icdGetPhysicalDeviceProcAddr