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 WebGPU's webidl #3480

Merged
merged 9 commits into from Jun 14, 2023
Merged

Update WebGPU's webidl #3480

merged 9 commits into from Jun 14, 2023

Conversation

JolifantoBambla
Copy link
Contributor

I updated WebGPU's webidl from the current state of the spec.

However, I made one manual change to the IDL:
The constructor of GPUPipelineError has an optional argument followed by a required argument, which webidl can't handle (or is illegal?). As a fix, I made the optional argument (message) a required one.
I think GPUPipelineError is not meant to be created by a user, so I'm not sure how big of a deal this is.

Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

LGTM!

Please remove the bump, this is something we will do separately.

EDIT: Please add a changelog entry as well.

@daxpedda daxpedda self-assigned this Jun 14, 2023
@daxpedda daxpedda added the waiting for author Waiting for author to respond label Jun 14, 2023
@JolifantoBambla
Copy link
Contributor Author

LGTM!

Please remove the bump, this is something we will do separately.

EDIT: Please add a changelog entry as well.

Done :)

Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

Thank you, tiny nit left.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: daxpedda <daxpedda@gmail.com>
Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

LGTM!

Thank you for your contribution!

@daxpedda daxpedda merged commit e84fd83 into rustwasm:main Jun 14, 2023
25 checks passed
ErichDonGubler added a commit to ErichDonGubler/wasm-bindgen that referenced this pull request Jan 30, 2024
Retains some workarounds that cause issues with generation:

* `GPUPipelineError`'s first argument remains required; see also
  [`rustwasm/wasm-bindgen`rustwasm#3480](rustwasm#3480).
* `[AllowShared] BufferSource data` arguments in `GPUQueue` methods are
  not yet changed to `AllowSharedBufferSource data`.
ErichDonGubler added a commit to ErichDonGubler/wasm-bindgen that referenced this pull request Jan 30, 2024
Retains some workarounds that cause issues with generation:

* `GPUPipelineError`'s first argument remains required; see also
  [`rustwasm/wasm-bindgen`rustwasm#3480](rustwasm#3480).
* `[AllowShared] BufferSource data` arguments in `GPUQueue` methods are
  not yet changed to `AllowSharedBufferSource data`.
ErichDonGubler added a commit to ErichDonGubler/wasm-bindgen that referenced this pull request Jan 30, 2024
Retains some workarounds that cause issues with generation:

* `GPUPipelineError`'s first argument remains required; see also
  [`rustwasm/wasm-bindgen`rustwasm#3480](rustwasm#3480).
* `[AllowShared] BufferSource data` arguments in `GPUQueue` methods are
  not yet changed to `AllowSharedBufferSource data`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for author Waiting for author to respond
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants