zink: Fix building on macOS
This fixes building on macOS: Disable ZINK_USE_DMABUF on macOS, it is unsupported. Import vk_mvk_moltenvk.h for MVK_VERSION in zink_resource.c. Add additional build arguments (see meson.build) to build properly. To build on macOS, you will probably need to run: brew install bison llvm cmake libxext xquartz ninja xorgproto meson And you also need to setup meson with something like: -Dmoltenvk-dir=/Users/<Username>/VulkanSDK/<VersionNumber>/MoltenVK -Dc_std=c11 Reviewed-by:Hoe Hao Cheng <haochengho12907@gmail.com> Part-of: <mesa/mesa!14255>
Please register or sign in to comment