Skip to content

Naga: support all standard severities for diagnostics #6458

@ErichDonGubler

Description

@ErichDonGubler

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

-

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions