mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.23k stars 22.5k forks source link

Add content for read-write and read-only storageTexture.access #36880

Closed chrisdavidmills closed 3 days ago

chrisdavidmills commented 5 days ago

Description

Chrome 124 supports the readonly_and_readwrite_storage_textures language extension (see WGSLLanguageFeatures), which allows the "read-write" and "read-only" storageTexture.access types to be set when specifying storageTexture bind group entry types in a bind group layout.

This PR adds content that describes the new access values to the GPUDevice.createBindGroupLayout page, and a new, improved "Available features" section that describes the feature and an example showing how to detect the availability of a specific feature to the WGSLLanguageFeatures page.

See https://developer.chrome.com/blog/new-in-webgpu-124#read-only_and_read-write_storage_textures for the data source

Motivation

Additional details

Project issue: https://github.com/mdn/content/issues/36346.

Related issues and pull requests

github-actions[bot] commented 5 days ago

Preview URLs

External URLs (1) URL: [`/en-US/docs/Web/API/WGSLLanguageFeatures`](https://pr36880.content.dev.mdn.mozit.cloud/en-US/docs/Web/API/WGSLLanguageFeatures) Title: `WGSLLanguageFeatures` - (1 time) (Note! This may be a new URL 👀)

(comment last updated: 2024-11-22 09:02:34)

github-actions[bot] commented 3 days ago

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