-
Notifications
You must be signed in to change notification settings - Fork 106
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
Update to wgpu-core 0.20.0 #387
Conversation
I'm attempting to update, but my I'm somewhat overwhelmed by the Rust type errors: E.g. I get a ton of these; is the suggestion from the Rust compiler the way to go?
|
Yeah there are quite a lot of changes needed, here's my branch that I was working a while ago, it compiles and runs but has a ref counting race condition somewhere for the surface, so it segfaults at exit. I didn't get much time to work on finding it though. |
(Feel free to pull those changes in this PR :)) |
Ah, great to see you've already made the changes. That segfault sounds bad. I might also have a look. |
I reviewed your changes, and it looks fine to me (albeit my Rust knowledge is limited). I especially checked the code related to surfaces, but cannot find anything suspicious of why the race condition was introduced. I also don't get a segfault on MacOS. |
This gfx-rs/wgpu#5637 may be related, it's fix is added as a backport, so maybe will need to wait till next point release. Update: It doesn't fix it unfortunately, but it's related to our |
Is it possible to publish a version even if we have some memory issue on it ? |
The segfault turned out to be fixed via gfx-rs/wgpu#6052, #402 updates wgpu to |
Updating to https://github.com/gfx-rs/wgpu/releases/tag/v0.20.0