-
Notifications
You must be signed in to change notification settings - Fork 14
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
Port to wgpu #27
Port to wgpu #27
Conversation
@0323pin How is vulkan support on NetBSD? The OpenGL backend of wgpu is kinda scuffed. Like it segfaults if multiple threads are used. |
Yes that would be nice. You can force it to use vulkan by using the env var |
It builds fine,
But ...
I wouldn't bother with the |
Interesting. The same panic appears under some conditions on windows so I have likely done something worng. |
Ok, do you want to dig into it first and ping me for a new build soon or, how should we proceed? |
Yes, you can try this fed093c commit. It fixed the crash on windows. |
@Kl4rry It works now :) Also, when using,
If I'm using this correctly, that's another question :) |
Good that it works. But I not 100% sure it's actually running on vulkan. Its not really clear from the docs which one is picked the desired one is not available. |
I'm not sure it's using vulkan either. Anyway to check? |
Yes, 854b4eb this commit should display the used backend in the about menu. It should also force netbsd to use vulkan so I think it should crash if it is not working. |
@Kl4rry Building from 854b4eb,
Same from 18b7458 EDIT: I've packaged and merged cargo-about, re-building from 18b7458 now. EDIT_2:
But, vulkan doesn't seem to be supported. It's the same even when setting |
Aight then, I will just keep supporting the GL backend. |
Thank you! |
Its not too much trouble. OpenGL still has some advantages for some weird reason on windows. It has faster startup and has less flickering when resizing the window. But mip maps are broken in the wgpu OpenGL backend. |
No description provided.