Add Capability::EXTRA_STORAGE_TEXTURES_FORMATS
#4412
Labels
area: validation
Issues related to validation, diagnostics, and error handling
naga
Shader Translator
This is quite a broad Capability, however since
wgpu
might enable more storage texture formats viaFeatures::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES
, we should allow the extra ones that the WGSL spec doesn't mandate.The WGSL Spec mandates the following formats:
from https://gpuweb.github.io/gpuweb/wgsl/#recursive-descent-syntax-texel_format
So, we need to gate the others we support behind a Capability:
We can later decide to break down the Capability into finer-grained ones.
The text was updated successfully, but these errors were encountered: