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 #4062

Merged
merged 1 commit into from
Aug 11, 2024
Merged

Update WebGPU #4062

merged 1 commit into from
Aug 11, 2024

Conversation

daxpedda
Copy link
Collaborator

See the W3C working draft.

  • Appropriately mark WebGPU functions with [Throws].
  • Add support for AllowSharedBufferSource.
  • Add support for optional arguments followed by non-optional ones.

Comment on lines +94 to 95
[RustDeprecated]
Promise<GPUAdapterInfo> requestAdapterInfo();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I left this in place because no browser implements GPUAdapter.info yet.

- Appropriately mark WebGPU functions with `[Throws]`.
- Add support for `AllowSharedBufferSource`.
- Add support for optional arguments followed by non-optional ones.
@daxpedda daxpedda merged commit 9a584e9 into rustwasm:main Aug 11, 2024
34 checks passed
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.

1 participant