Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants