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

Chrome 123 supports unrestricted_pointer_parameters extension in WGSL #25171

Conversation

chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Nov 21, 2024

Summary

Chrome 123 supports the unrestricted_pointer_parameters language extension (see WGSLLanguageFeatures), which loosens restrictions on pointers being passed to WGSL functions as follows:

  • Parameter pointers to storage, uniform, and workgroup address spaces being passed to user-declared functions.
  • Pointers to structure members and array elements being passed to user-declared functions.

This PR adds a data point for the language extension.

See https://developer.chrome.com/blog/new-in-webgpu-123#unrestricted_pointer_parameters_in_wgsl for the data source.

Test results and supporting details

Spec PR: gpuweb/gpuweb#4312

Related issues

Project issue: mdn/content#36350

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:m [PR only] 25-100 LoC changed labels Nov 21, 2024
@github-actions github-actions bot added the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Nov 22, 2024
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Nov 22, 2024
@caugner caugner changed the title Add data point for unrestricted_pointer_parameters extension Chrome 123 supports unrestricted_pointer_parameters extension in WGSL Nov 22, 2024
@caugner caugner merged commit d78dc59 into mdn:main Nov 22, 2024
7 checks passed
@mdn-bot mdn-bot mentioned this pull request Nov 22, 2024
@chrisdavidmills chrisdavidmills deleted the webgpu-unrestricted_pointer_parameters-extension branch November 22, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:m [PR only] 25-100 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants