-
Notifications
You must be signed in to change notification settings - Fork 920
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 recursion limit for curly braces in WGSL #5447
Merged
ErichDonGubler
merged 3 commits into
gfx-rs:trunk
from
erichdongubler-mozilla:limit-wgsl-statement-nesting
Apr 3, 2024
Merged
Add recursion limit for curly braces in WGSL #5447
ErichDonGubler
merged 3 commits into
gfx-rs:trunk
from
erichdongubler-mozilla:limit-wgsl-statement-nesting
Apr 3, 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
added
area: validation
Issues related to validation, diagnostics, and error handling
area: correctness
We're behaving incorrectly
naga
Shader Translator
area: naga front-end
lang: WGSL
WebGPU Shading Language
labels
Mar 27, 2024
jimblandy
reviewed
Mar 27, 2024
ErichDonGubler
force-pushed
the
limit-wgsl-statement-nesting
branch
3 times, most recently
from
March 28, 2024 21:48
8c520cf
to
60a072e
Compare
ErichDonGubler
changed the title
Add limits for braces and parentheses in WGSL
Add parsing limits for braces in WGSL
Mar 28, 2024
ErichDonGubler
commented
Mar 28, 2024
This comment was marked as resolved.
This comment was marked as resolved.
ErichDonGubler
commented
Mar 29, 2024
ErichDonGubler
force-pushed
the
limit-wgsl-statement-nesting
branch
2 times, most recently
from
April 2, 2024 00:52
b943742
to
6c7ea07
Compare
ErichDonGubler
changed the title
Add parsing limits for braces in WGSL
Add recursion limit for curly braces in WGSL
Apr 2, 2024
ErichDonGubler
force-pushed
the
limit-wgsl-statement-nesting
branch
from
April 2, 2024 01:05
6c7ea07
to
22c80fb
Compare
ErichDonGubler
force-pushed
the
limit-wgsl-statement-nesting
branch
from
April 3, 2024 14:35
22c80fb
to
8cdd967
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
ErichDonGubler
force-pushed
the
limit-wgsl-statement-nesting
branch
from
April 3, 2024 17:43
c19fa79
to
3aed6da
Compare
This comment was marked as resolved.
This comment was marked as resolved.
jimblandy
approved these changes
Apr 3, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: correctness
We're behaving incorrectly
area: naga front-end
area: validation
Issues related to validation, diagnostics, and error handling
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
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
Link to the issues addressed by this PR, or dependent PRs in other repositories
Intended to resolve #4352.
Description
Describe what problem this is solving, and how it's solved.
Testing
Explain how this change is tested.
Checklist
cargo fmt
.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.