Short info header:
I have installed XCode and try to run
cargo run --bin quad --features metal
However it always says
You need to enable the native API feature (vulkan/metal) in order to test the LL
Hi @zheli! This issue could be caused by running cargo run --bin quad --features metal from the gfx directory instead of the gfx/examples directory.
Is your working directory set to examples? For example, you should cd examples first as mentioned in the examples readme.
We could probably update the warning message to help with this in the future, if you'd like to send a pull request :)
Thx @grovesNL! Can't believe I made this simple mistake, haha. Completely missed the step to switch to gfx/examples folder. It works now!
Most helpful comment
Hi @zheli! This issue could be caused by running
cargo run --bin quad --features metalfrom thegfxdirectory instead of thegfx/examplesdirectory.Is your working directory set to
examples? For example, you shouldcd examplesfirst as mentioned in the examples readme.We could probably update the warning message to help with this in the future, if you'd like to send a pull request :)