Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naga: support all standard severities for diagnostics #6458

Open
ErichDonGubler opened this issue Oct 23, 2024 · 0 comments
Open

Naga: support all standard severities for diagnostics #6458

ErichDonGubler opened this issue Oct 23, 2024 · 0 comments
Labels
area: naga front-end area: naga processing Passes over IR in the middle lang: WGSL WebGPU Shading Language naga Shader Translator type: bug Something isn't working

Comments

@ErichDonGubler
Copy link
Member

Is your feature request related to a problem? Please describe.

Once we can emit multiple diagnostic items by resolving #5295, we'd like to finally converge with standard WGSL's diagnostic severity model (see https://www.w3.org/TR/WGSL/#diagnostics).

Describe the solution you'd like

Support all severity levels the WGSL spec. supports. Namely:

  • warning
  • error
  • info

Describe alternatives you've considered

-

Additional context

-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga front-end area: naga processing Passes over IR in the middle lang: WGSL WebGPU Shading Language naga Shader Translator type: bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant