Skip to content
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 Wasm dependencies to fix WebGPU spec change crash in Firefox with Vello #2027

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

0HyperCube
Copy link
Member

Fixes running on firefox nightly (requires the latest wgpu to fix gfx-rs/wgpu#6290 (comment)). This also required using vello with the git wgpu version.

We get a warning due to "use of deprecated method web_sys::CanvasRenderingContext2d::set_stroke_style". There is an alternative function but it is broken. I fixed it in rustwasm/wasm-bindgen#4170 but it has not been released. There will apparently be a patch release "today".

@Keavon Keavon marked this pull request as ready for review October 11, 2024 22:30
@Keavon Keavon changed the title Update wasm deps Update Wasm dependencies to fix WebGPU spec change crash in Firefox with Vello Oct 11, 2024
@Keavon
Copy link
Member

Keavon commented Oct 11, 2024

It sounds like next week is when WGPU 0.23 is planned for release. I'll go ahead and merge this now but we should be able to update as soon as that comes out and Vello pushes an upgrade to it, letting us switch to the released WGPU and the official Git version of Vello instead of needing to use the Vello fork for now. But that'll all be an easy followup PR next week.

Copy link
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@Keavon Keavon merged commit 3b0e958 into master Oct 12, 2024
5 checks passed
@Keavon Keavon deleted the update-wasm-deps branch October 12, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove SupportedLimits.maxInterStageShaderComponents
2 participants