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.
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 👀)
Description
Chrome 124 supports the
readonly_and_readwrite_storage_textures
language extension (seeWGSLLanguageFeatures
), which allows the"read-write"
and"read-only"
storageTexture.access
types to be set when specifyingstorageTexture
bind group entry types in a bind group layout.This PR adds content that describes the new
access
values to theGPUDevice.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 theWGSLLanguageFeatures
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