#Switch rendering backend
7 messages · Page 1 of 1 (latest)
I had something not too disimilar where I had to force it be vulkan otherwise it wouldn't start:
add_plugins(DefaultPlugins.set(RenderPlugin {
render_creation: RenderCreation::Automatic(WgpuSettings {
backends: Some(Backends::VULKAN),
..default()
}),
..default()
}))
You can probably change it to your needs
Thanks man! This helped, indeed setting it to vulkan explicitly solves the crash. This is not ideal , but unblocks me :🎉
It should be using vulkan automatically if you're on windows/linux.
If it's not, that's probably a bug in wgpu
the thing is : I'm not sure. From the logs it seems like it's using vulkan, but it's crashing for some reason. After setting vulkan explicitly the problem goes away.
Defeinitly shouldn't be happening. Try the wgpu examples and see if you can reproduce there, and report a bug to them.