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

Add data point for unrestricted_pointer_parameters extension #25171

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chrisdavidmills
Copy link
Collaborator

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

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
],
"support": {
"chrome": {
"version_added": "123"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is there no note for this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Again, it really should be there. Added in all places where it is missing.

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.

2 participants