Sitelet https://github.com/gpuweb/gpuweb/issues/1597
Skip to content

GPUCompilationMessage: Specify linePos units, consider span #1597

Description

@kainino0x
  • The units of linePos should be defined (this may be implicit from how WGSL parses characters, but should be mentioned here too) - i.e. bytes, codepoints, grapheme clusters, etc.
  • Should there be a span (linePosStart/linePosEnd or linePos/spanLength) for the error?

For reference, GPUCompilationMessage was added in #646.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions