Make validation truly optional #4409
Labels
area: validation
Issues related to validation, diagnostics, and error handling
naga
Shader Translator
type: enhancement
New feature or request
Currently, even with empty validation flags, the validator complains about things that aren't required to produce the module info. For example, it requires the
@group
and@binding
to be present, unconditionally, on resources. This doesn't affect construction ofModuleInfo
and should be gated behind a flag. Moreover, documentation of--validation
option in naga-cli says:The text was updated successfully, but these errors were encountered: