-
-
Notifications
You must be signed in to change notification settings - Fork 36
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 wgpu-native to v0.19.1.1 #458
Conversation
Thanks for this! Glad to see someone else giving this a go. If you felt the description of the update process can be improved, that'd be worthwhile too! It looks like There are a few examples that crash/abort on some platforms. The memtests seem to be failing consistently, which is a bit worrysome 🤔. I'll have a closer look somewhere this week. |
I did forget about me test. Tried to look into the failing cases and they seem to be all assertion errors again. Where As for the linting, I assume it's an update as the files throwing errors are not changed. Is there a pinned version of black and flake8 we use? Perhaps it's also worth considering to switch to ruff like pygfx/shadertoy#12 as its notably faster even on this size of project. Will find some time later this week |
little update. I fixed the linting by updating black. As for the tests failing and aborting... it crashes before the skip for lavapipe is run. While importing the screenshot example. This simply hides the underlying issue tho - hopefully the mem tests lead me to an answer eventually. |
Note that on CI the examples and screenshots tests pass. Only the |
I think I know why the memtests fail. Just a quick heads-up in case you were planning to dive in too 😉 |
I won't find time today or tomorrow. So feel free to take over. |
Getting close. Pypy fails consistently tho. |
can confirm this was an issue with my script and is unrelated. I have also gotten to a situation where I get an Python-CFFI error trace as a OS pop up. It is charmap encoding related, shadertoys have Unicode in comments that might cause this issue. |
Only Pypy left. It fails consistently in I wanted to reproduce by installing Pypy, but ran into another (macos specific) pypy issue: beeware/rubicon-objc#406 |
I setup pypy on my system and it fails for three tests: The other two failures tests ( I do not get any failures for Side node: we also have references to Dx11 in the docs. Also in the enums, but I don't think they can be removed. |
@almarklein now passes all tests on my system and on CI all the pypy fixes are just more |
I suppose we have to learn to live with the fact that things are somewhat flaky on pypy. For the record:
Anyway, the tests are green, so I think we can start wrapping this up. I just saw that some pygfx examples are broken with this update, so I'll have a look into that. |
These are related to the "float32-filterable" feature. It looks like now that "float32-filterable" is available, it is not longer part of "texture_adapter_specific_format_features". Enabling "float32-filterable" instead of "texture_adapter_specific_format_features" in pygfx fixes it! |
Could you also update the release notes? Some points to include, at least:
|
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.
Looking good to go from my end!
Finally figured out why this happened: I was using tqdm and rerouted stderr to devnull to avoid some error messages from ruining the progress bar. the cffi callback for the logger prints to stderr - and the error somehow traced all the way to cp1252 encoding 🤷 |
My first try at updating to the new wgpu release
followed the steps outlined here
not sure if I did it all correct... I did not update the idl spec
_api.py
WGPUStorageReport
got replaced byWGPURegistryReport
; dx11 removedExamples pass, tests do (apart from the last two, which crash as I don't have lavapipe on this system), additionally the examples and tests in shadertoy work.
If there is more changes in the api that I missed due to the idl, perhaps you can still cherry pick the commits here.