-
Notifications
You must be signed in to change notification settings - Fork 952
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
fix: macOS - added portability bit and extension when creating vulkan instance #3958
Conversation
This gets me a little further towards
|
Looks like the remaining error is from wgpu/wgpu-hal/src/vulkan/adapter.rs Lines 1059 to 1065 in ac9ac8b
wgpu/wgpu-hal/src/vulkan/adapter.rs Lines 234 to 246 in ac9ac8b
That is, I suspect what you want to do is duplicate those two fields of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great first step. confirmed getting the same on my m1 as well :)
Let's continue as @eddyb suggests
Checklist
cargo clippy
.cargo clippy --target wasm32-unknown-unknown
if applicable.Description
wgpu
can't select the vulkan backend on macos. This should at least get us a bit further down the path. Here's the relevant discussion on the wgpu users matrix channelTesting
Run an example (on macos) with
RUST_LOG=trace WGPU_BACKEND=vk VK_LOADER_DEBUG=error cargo run --bin skybox --features=vulkan-portability