vulkan: Allow global symbol HMI for Android
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 29 Jul 2020 19:51:49 +0000 (12:51 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 18:08:07 +0000 (18:08 +0000)
Android looks for this symbol when loading HAL modules.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>

src/vulkan/vulkan-icd-symbols.txt

index feca419c0cad30a09e6efb52badc373106345948..b463ca83ae6a3da39170304e32be4c6955702b87 100644 (file)
@@ -12,3 +12,8 @@ vk_icdNegotiateLoaderICDInterfaceVersion
 # Version 4 - Add unknown physical device extension querying via
 #             vk_icdGetPhysicalDeviceProcAddr.
 (optional) vk_icdGetPhysicalDeviceProcAddr
+
+# Andoid looks for this global in HAL modules. In the source it occurs
+# as HAL_MODULE_INFO_SYM (which is just a #define for HMI) and it's an
+# instance of struct hwvulkan_module_t.
+(optional) HMI