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

Add a way to emit errors with a path #1640

Merged
merged 3 commits into from
Jan 4, 2022
Merged

Add a way to emit errors with a path #1640

merged 3 commits into from
Jan 4, 2022

Commits on Jan 3, 2022

  1. Add a way to emit errors with a path

    I am using `naga` in my build script to validate all of my shaders, and it would be nice to be able to display the file path inside of the diagnostic, so I added a method `emit_to_stderr_with_path` to `naga::front::wgsl::ParserError`.
    laptou committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    32f484a View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. change path to &str

    laptou committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    fd51ac6 View commit details
    Browse the repository at this point in the history
  2. fix rustfmt

    laptou committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    b50d637 View commit details
    Browse the repository at this point in the history