vulkan: add symbols file
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 11 Oct 2018 14:01:46 +0000 (15:01 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 10 Jul 2019 11:27:51 +0000 (11:27 +0000)
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 <eric.engestrom@intel.com>
Reviewed-by Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/vulkan/meson.build
src/vulkan/vulkan-icd-symbols.txt [new file with mode: 0644]

index afd2911e83db2930e8a33a82fb2593acb34f02c5..7900938b3550040c8cbfb908b56c1eb9729e8b43 100644 (file)
@@ -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 (file)
index 0000000..feca419
--- /dev/null
@@ -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