-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area: naga front-endkind: diagnosticsError message should be betterError message should be betterlang: WGSLWebGPU Shading LanguageWebGPU Shading LanguagenagaShader TranslatorShader Translatortype: enhancementNew feature or requestNew feature or request
Description
In adding a maximum size for any type (#7950, for #7383), I found that in some cases the error messages were not very useful because a span isn't stored with the types in the arena, so it isn't possible to identify what is oversize.
I chose 1 GB as a starting limit, so it's relatively unlikely anyone will hit the limit, and if it does get hit, there probably aren't very many types that could be the culprit.
Metadata
Metadata
Assignees
Labels
area: naga front-endkind: diagnosticsError message should be betterError message should be betterlang: WGSLWebGPU Shading LanguageWebGPU Shading LanguagenagaShader TranslatorShader Translatortype: enhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo