Skip to content

Update WebGPU's webidl#3480

Merged
daxpedda merged 9 commits intowasm-bindgen:mainfrom
JolifantoBambla:patch-1
Jun 14, 2023
Merged

Update WebGPU's webidl#3480
daxpedda merged 9 commits intowasm-bindgen:mainfrom
JolifantoBambla:patch-1

Conversation

@JolifantoBambla
Copy link
Copy Markdown
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
Copy Markdown
Member

@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
Copy Markdown
Contributor Author

LGTM!

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

EDIT: Please add a changelog entry as well.

Done :)

@JolifantoBambla JolifantoBambla requested a review from daxpedda June 14, 2023 11:04
Copy link
Copy Markdown
Member

@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.

Co-authored-by: daxpedda <daxpedda@gmail.com>
Copy link
Copy Markdown
Member

@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 wasm-bindgen:main Jun 14, 2023
ErichDonGubler added a commit to erichdongubler-contrib/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`wasm-bindgen#3480](wasm-bindgen#3480).
* `[AllowShared] BufferSource data` arguments in `GPUQueue` methods are
  not yet changed to `AllowSharedBufferSource data`.
ErichDonGubler added a commit to erichdongubler-contrib/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`wasm-bindgen#3480](wasm-bindgen#3480).
* `[AllowShared] BufferSource data` arguments in `GPUQueue` methods are
  not yet changed to `AllowSharedBufferSource data`.
ErichDonGubler added a commit to erichdongubler-contrib/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`wasm-bindgen#3480](wasm-bindgen#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.

3 participants