awtterpip / bevy_oxr

Apache License 2.0
253 stars 39 forks source link

add 'vulkan-portability' feature to wgpu when target family is unix (MacOS support) #101

Closed 0xtito closed 6 months ago

0xtito commented 6 months ago

idk if anyone else with a mac has run into this issue, but there errors inside of vulkan.rs. Specifically at use wgpu_hal::api::Vulkan;, i get

 unresolved import `wgpu_hal::api::Vulkan`
   no `Vulkan` in `api`

and then it when diving into the crate, it says Vulkan has been configured out.

I do have the VulkanSDK installed + MoltenVK, yet the same error. So this seems to be easiest way to use vulkan on a mac...?