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

fix(web)!: remove maxInterStageShaderComponents from vendored web-sys #6377

Conversation

ErichDonGubler
Copy link
Member

Connections

Works around #6290. CC @daxpedda, who will likely be fielding a review in which I upstream this to web-sys eventually.

Description

-

Testing

Tested locally that we are successfully working around the problem. Can be tested with cargo xtask run-wasm and opening the hello_compute example.

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@ErichDonGubler ErichDonGubler marked this pull request as ready for review October 7, 2024 14:08
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner October 7, 2024 14:08
Copy link
Member

@jimblandy jimblandy left a comment

Choose a reason for hiding this comment

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

If I understand correctly, the reason we vendor web-sys is for exactly this kind of situation. So this looks good to me.

@jimblandy jimblandy merged commit c0fa1bc into gfx-rs:trunk Oct 7, 2024
27 checks passed
@ErichDonGubler ErichDonGubler deleted the erichdongubler/push-rkvlnsrxtlvp branch October 8, 2024 00:44
jimblandy added a commit to jimblandy/wgpu that referenced this pull request Oct 8, 2024
Revert the changes to the vendored copy of web-sys's WebGPU bindings
made in gfx-rs#6377. The only purpose of vendoring is to pin down our WebGPU
JS bindings, not to allow local changes. And as it turns out, removing
the `max_inter_stage_shader_components` accessor isn't necessary in
order to fix gfx-rs#6290.
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.

3 participants