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 packed_4x8_integer_dot_product extension in WGSL #25170

Conversation

chrisdavidmills
Copy link
Collaborator

Summary

Chrome 123 supports the readonly_and_readwrite_storage_textures language extension (see WGSLLanguageFeatures), which allows:

  • 32-bit integer scalars packing 4-component vectors of 8-bit integers to be used as inputs to dot product instructions
  • and packing and unpacking instructions with packed 4-component vectors of 8-bit integers to be used

In your WGSL shader code.

This PR adds a data point for the language extension.

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

Test results and supporting details

Related issues

Project issue: mdn/content#36349

@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 packed_4x8_integer_dot_product extension Chrome 123 supports packed_4x8_integer_dot_product extension in WGSL Nov 22, 2024
@caugner caugner merged commit 9462877 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-packed_4x8_integer_dot_product-extension branch November 22, 2024 14:55
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