[naga] PendingArraySize::Expression
handle not validated
#6793
Labels
area: naga middle-end
Intermediate representation
area: naga processing
Passes over IR in the middle
area: validation
Issues related to validation, diagnostics, and error handling
naga
Shader Translator
Naga validation does not ensure that the
expr
handle inPendingArraySize::Expression(expr)
is valid. That variant is not mentioned innaga/src/valid/handles.rs
at all.Fixing this is not as simple as just adding a bit of code to
validate_module_handles
. Handle validation needs to show that the structure of the module is acyclic, but with the introduction ofPendingArraySize::Expression
,Module::types
andModule::global_expressions
can now refer to each other, making it a bit trickier to show an absence of cycles.The text was updated successfully, but these errors were encountered: