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 helper for getting the location of a span in some textual source #1937

Merged
merged 2 commits into from
May 26, 2022

Conversation

nical
Copy link
Contributor

@nical nical commented May 23, 2022

The idea is to get an easily consumable location (line/column/etc.) in the shader source for errors, where "easily consumable" really just means what the WebGPU spec expects for errors.

r? @jimblandy

Copy link
Member

@jimblandy jimblandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - just tweaked the docs a bit.

@jimblandy jimblandy enabled auto-merge (rebase) May 26, 2022 00:12
@jimblandy jimblandy merged commit f035854 into gfx-rs:master May 26, 2022
@nical nical deleted the span-location branch June 6, 2022 14:56
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