WGSL: Support the readonly_and_readwrite_storage_textures
language extension
#6204
Labels
area: naga front-end
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
The WGSL spec. defines a language extension called
readonly_and_readwrite_storage_textures
, which we can and should support.Describe the solution you'd like
Implement this feature from the spec. It's not required for adherence to the spec., but there is interesting code in the wild (i.e., by ThreeJS) that already wants to use this language extension.
Describe alternatives you've considered
Additional context
Related to #6192 in that it's expected that the
requires
directive is supported with thereadonly_and_readwrite_storage_textures
identifier specifically for this feature.The text was updated successfully, but these errors were encountered: