[PATCH] configure: Don't check for libVulkan on macOS.
macOS uses libMoltenVK, finding libVulkan on macOS causes libMoltenVK to be ignored and Wine is unable to interact with the Vulkan loader on macOS. Signed-off-by: Dean M Greer <gcenx83(a)gmail.com> --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index dafa8489b71..1d770009ae3 100644 --- a/configure.ac +++ b/configure.ac @@ -130,6 +130,7 @@ AC_CHECK_TOOL(LD,ld) case $host in *-darwin*) with_fontconfig=${with_fontconfig:-no} + ac_cv_lib_soname_vulkan= ;; *-mingw32*|*-cygwin*) enable_win16=${enable_win16:-no} -- 2.24.3 (Apple Git-128)
December 27, 2020 6:03 PM, "Dean M Greer" <gcenx83(a)gmail.com> wrote:
macOS uses libMoltenVK, finding libVulkan on macOS causes libMoltenVK to be ignored and Wine is unable to interact with the Vulkan loader on macOS.
If that's true, then we need to fix that. It should be possible to use MoltenVK as an ICD through the Vulkan loader. Chip
On Sun, Dec 27, 2020 at 11:57 PM Chip Davis <cdavis(a)codeweavers.com> wrote:
December 27, 2020 6:03 PM, "Dean M Greer" <gcenx83(a)gmail.com> wrote:
macOS uses libMoltenVK, finding libVulkan on macOS causes libMoltenVK to be ignored and Wine is unable to interact with the Vulkan loader on macOS.
If that's true, then we need to fix that. It should be possible to use MoltenVK as an ICD through the Vulkan loader.
Chip
I don’t remember the error code off hand just that when compiled with
libvulkan wine64 didn’t have functional Vulkan support. Cube/Vulkan info etc could find libMoltenVK with the ICD file I’d setup within my user but wine64 didn’t. Dean M Greer
participants (3)
-
Chip Davis -
Dean Greer -
Dean M Greer