Naga should support source maps #7463
Labels
kind: diagnostics
Error message should be better
naga
Shader Translator
type: enhancement
New feature or request
People are generating WGSL from other sources (WESL, for example), and would like to get error messages that refer to their original sources. Naga should help them do that.
This might not really imply sourcemap support within Naga itself. It might be sufficient just to make sure that error types expose spans that a consumer could apply source maps to. But with this approach, the user would then need to use some crate like
codespan_reporting
themselves.The text was updated successfully, but these errors were encountered: