-
Notifications
You must be signed in to change notification settings - Fork 956
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
wgpu(web) assertion failed: data.is::<T>() #3710
Comments
Maybe it's because of wasm-bindgen-futures usage. |
It's not that, it's that you created the surface through So it seems @grovesNL missed that method in his large fix PR #3657. I drilled already a little bit into the different surface creation methods but it's super confusing to me. Tbh I don't understands the original PR to entirely to begin with (so.. there's some object that shouldn't be owned by wgpu, otherwise everything breaks?) and it seems the return value types for surface creation are now all over the place. |
Thank you for looking into it. I tried out your branch and it is working for me now. Integrationtest is green again: https://github.com/codeart1st/wgpu-layers/actions/runs/4770911276/jobs/8482505699 Because I have a "check wasm artifact size" job during build action, I found out that since 0.14.2 the artifact size changed significantly. The job failed with a 100kB compression threshold. The size increased from 278kB to 322kB (+16%) and brotli compressed from 86kB to 100kB (+16%). Is this relevant enough for a new issue or no priority for this project? |
Confirmed it working as well for egui @grovesNL! |
Description
A follow up issue for #3430. wgpu still breaks for me on web with a minimal example.
https://github.com/codeart1st/wgpu-wasm-dispatch/blob/main/tests/test.rs
The text was updated successfully, but these errors were encountered: