Naga should require Capabilities
to accept binding_array
types at all
#6910
Labels
area: naga middle-end
Intermediate representation
area: validation
Issues related to validation, diagnostics, and error handling
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
Naga accepts
binding_array
as a type, even with noCapabilities
flags set that would allow it to be used. For use in WebGPU, Naga should not even allow such variables to be declared.For example, Firefox accepts the following shader module:
The text was updated successfully, but these errors were encountered: