Validate access on ImageClass::Storage
and AddressSpace::Storage
#4411
Labels
area: validation
Issues related to validation, diagnostics, and error handling
naga
Shader Translator
WGSL only has write-only storage textures and never write-only storage buffers.
see https://gpuweb.github.io/gpuweb/wgsl/#texture-storage and https://gpuweb.github.io/gpuweb/wgsl/#storage-buffer
wgpu
has support for read-only and read-write storage textures viaFeatures::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES
.Therefore we should add
Capability::READ_ONLY_AND_READ_WRITE_STORAGE_TEXTURES
that disables access validation for storage textures.The text was updated successfully, but these errors were encountered: