-
Notifications
You must be signed in to change notification settings - Fork 935
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
WGSL: Add a skeleton for diagnostic filter rules/diagnostic(…)
; that reports nice errors
#6456
Merged
ErichDonGubler
merged 2 commits into
gfx-rs:trunk
from
erichdongubler-mozilla:diagnostic-directive-skeleton
Oct 30, 2024
Merged
WGSL: Add a skeleton for diagnostic filter rules/diagnostic(…)
; that reports nice errors
#6456
ErichDonGubler
merged 2 commits into
gfx-rs:trunk
from
erichdongubler-mozilla:diagnostic-directive-skeleton
Oct 30, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ErichDonGubler
changed the title
refactor(wgsl-in): specify more closure ret. types in parsing
WGSL: Add a skeleton for diagnostic filter rules/Oct 23, 2024
diagnostic(…)
; that reports nice errors
7 tasks
ErichDonGubler
commented
Oct 23, 2024
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
from
October 23, 2024 22:12
2859ecf
to
d139d1c
Compare
ErichDonGubler
commented
Oct 23, 2024
ErichDonGubler
added
lang: WGSL
WebGPU Shading Language
type: enhancement
New feature or request
labels
Oct 23, 2024
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
from
October 24, 2024 02:17
d139d1c
to
555c643
Compare
ErichDonGubler
commented
Oct 24, 2024
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
2 times, most recently
from
October 25, 2024 02:50
04794a4
to
3764f91
Compare
teoxoy
previously requested changes
Oct 25, 2024
7 tasks
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
from
October 25, 2024 17:52
3764f91
to
d6b419a
Compare
7 tasks
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
2 times, most recently
from
October 25, 2024 18:32
4d609af
to
2ea2cd0
Compare
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
from
October 26, 2024 01:10
2ea2cd0
to
97d3556
Compare
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
from
October 30, 2024 21:11
97d3556
to
290600b
Compare
teoxoy
approved these changes
Oct 30, 2024
ErichDonGubler
commented
Oct 30, 2024
ErichDonGubler
force-pushed
the
diagnostic-directive-skeleton
branch
from
October 30, 2024 22:22
290600b
to
d7a3b6d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: naga front-end
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
type: enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Connections
diagnostic(…)
) #5320.diagnostic(…);
directives andderivative_uniformity
triggering rule #6148.Description
Recommended review experience is commit-by-commit. Each individual commit should pass CI!
Finishes building out a parsing skeleton for all directives (see also #6352, #6424, #6350). Paves the way for us to actually track diagnostic filters, and apply them.
Testing
Testing has been done manually to @ErichDonGubler's satisfaction. Test coverage for this parsing will be added in #6457.
Checklist
cargo fmt
.taplo format
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
--target wasm32-unknown-emscripten
cargo xtask test
to run tests.CHANGELOG.md
. See simple instructions inside file.