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

Conversation

laptou
Copy link
Contributor

@laptou laptou commented Jan 3, 2022

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.

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`.
@kvark
Copy link
Member

kvark commented Jan 3, 2022

CI mad :)

@kvark kvark enabled auto-merge (squash) January 4, 2022 18:19
@kvark kvark merged commit 9a0f1b3 into gfx-rs:master Jan 4, 2022
@laptou laptou deleted the patch-1 branch January 4, 2022 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants