mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d: Create Vulkan instance when creating D3D12 device.
We link directly to the Vulkan loader library and use few exported procedures. According to the documentation the loader library exports all core Vulkan procedures on Windows, Linux and Android.
This commit is contained in:
@@ -38,6 +38,12 @@ then
|
||||
VKD3D_CHECK_CFLAGS([-Wvla])
|
||||
fi
|
||||
|
||||
dnl Check for headers
|
||||
AC_CHECK_HEADERS([vulkan/vulkan.h], [], [AC_MSG_ERROR([vulkan.h not found.])])
|
||||
|
||||
dnl Check for libraries
|
||||
AC_CHECK_LIB([vulkan], [vkGetInstanceProcAddr], [], [AC_MSG_ERROR([libvulkan not found.])])
|
||||
|
||||
dnl Check for __sync_add_and_fetch
|
||||
AC_MSG_CHECKING([for __sync_add_and_fetch])
|
||||
AC_LINK_IFELSE(
|
||||
|
Reference in New Issue
Block a user