Naga shouldn't evaluate overrides unless they're used by the entry point #5885
Labels
area: naga back-end
Outputs of naga shader conversion
naga
Shader Translator
type: bug
Something isn't working
When generating code for a
naga::Module
, Naga currently evaluates every override-expression it can, regardless of whether that expression is statically used by the entry point(s) for which we are generating code. The WGSL committee's recent discussions clarified that errors should only be reported from override-expressions that are actually statically used.The text was updated successfully, but these errors were encountered: