Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run triangle example on MAC with metal backend #262

Open
trsh opened this issue Jan 19, 2020 · 6 comments
Open

Can't run triangle example on MAC with metal backend #262

trsh opened this issue Jan 19, 2020 · 6 comments

Comments

@trsh
Copy link

trsh commented Jan 19, 2020

cargo run --features metal

gives

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: No enabled backends among: vulkan dx12 metal gl', src/libcore/result.rs:1165:5

On windows machine cargo run --features vulkan works

example.zip

@trsh trsh changed the title Can't run example on MAC with metal backend Can't run triangle example on MAC with metal backend Jan 19, 2020
@zakarumych
Copy link
Member

Oh, I thought we eliminated all bugs with metal backend activation.
Could be rustfmt messing with complex cfg macro again. I'll check it

@trsh
Copy link
Author

trsh commented Jan 19, 2020

Thank you!

@StarArawn
Copy link
Contributor

Is there any progress on this? I also get the same error.

@trsh
Copy link
Author

trsh commented Apr 8, 2020

There seems to be zero progress on bug handling in this project :(

@fu5ha
Copy link
Member

fu5ha commented Apr 8, 2020 via email

@StarArawn
Copy link
Contributor

I would try to fix, but taking a look at it the macro's are hard for me to follow and a bit over my head at the moment.

I have debugged this a bit further and metal shows up as an available adapter for me it just doesn't get enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants