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 an entry to the "Available features" table on the WGSLLanguageFeatures ref page for this feature. I'm copying the same structure as I used in https://github.com/mdn/content/pull/36880, and will deal with merging them as they start to get published.
External URLs (2)
URL: [`/en-US/docs/Web/API/WGSLLanguageFeatures`](https://pr36898.content.dev.mdn.mozit.cloud/en-US/docs/Web/API/WGSLLanguageFeatures)
Title: `WGSLLanguageFeatures`
- (1 time) (Note! This may be a new URL 👀)
- (3 times) (Note! This may be a new URL 👀)
Description
Chrome 123 supports the
readonly_and_readwrite_storage_textures
language extension (seeWGSLLanguageFeatures
), which allows:In your WGSL shader code.
This PR adds an entry to the "Available features" table on the
WGSLLanguageFeatures
ref page for this feature. I'm copying the same structure as I used in https://github.com/mdn/content/pull/36880, and will deal with merging them as they start to get published.See https://developer.chrome.com/blog/new-in-webgpu-123#dp4a_built-in_functions_support_in_wgsl for the data source.
Motivation
Additional details
Related issues and pull requests
Project issue: https://github.com/mdn/content/issues/36349