vulkan-go / vulkan

Vulkan API bindings for Go programming language
MIT License
742 stars 55 forks source link

Freebsd #48

Closed zigster64 closed 3 years ago

zigster64 commented 3 years ago

Add support for FreeBSD

Requires that vulkan-tools be installed

Tested with vulkan-demos. Trivial change, but it does enable all the demos to be built without a bunch of linker errors.

Note that on NVidia (which for some reason doesnt include vk_XXX stubs in their driver !!!), you can use this shim to develop and use vulkan apps on FreeBSD, using the linux version of libGLX_nvidia.so just for the vulkan init calls. Works well

https://github.com/shkhln/libc6-shim

xlab commented 3 years ago

Super cool, I never had time or FreeBSD knowledge to support that, glad it works! :)