android: Fix zink build failure
Otherwise we run into following build error on Android:
ld.lld: error: undefined symbol: galliumvk_driver_extensions
Fixes: cfa955ed78
("glx/egl: fix LIBGL_KOPPER_DISABLE")
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29475>
This commit is contained in:
@@ -142,6 +142,9 @@ DEFINE_LOADER_DRM_ENTRYPOINT(lima)
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_ZINK)
|
||||
#if DETECT_OS_ANDROID
|
||||
DEFINE_LOADER_DRM_ENTRYPOINT(zink);
|
||||
#else
|
||||
const __DRIextension **__driDriverGetExtensions_zink(void);
|
||||
|
||||
PUBLIC const __DRIextension **__driDriverGetExtensions_zink(void)
|
||||
@@ -149,6 +152,7 @@ PUBLIC const __DRIextension **__driDriverGetExtensions_zink(void)
|
||||
return debug_get_bool_option("LIBGL_KOPPER_DISABLE", false) ? galliumdrm_driver_extensions : galliumvk_driver_extensions;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_D3D12)
|
||||
DEFINE_LOADER_DRM_ENTRYPOINT(d3d12);
|
||||
|
Reference in New Issue
Block a user