-
Notifications
You must be signed in to change notification settings - Fork 194
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 handle validation pass to Validator
#2090
Conversation
7a3d209
to
fb43860
Compare
@jimblandy: I think that this is finally ready! 🙌🏻 |
6b3dab0
to
a040828
Compare
@jimblandy: Just wanted to ping here again, and get confirmation on whether reviewing this is a priority for you or not. Whatever the case, thanks in advance! 🙂 |
a040828
to
4b87527
Compare
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.
Okay, this looks great - just what we need. There are a few omissions that need to be addressed, and I had some suggestions.
…r::validate` Resolves <gfx-rs#2090 (comment)>.
@jimblandy: Thanks for the thorough feedback. Once you've had a chance to look through the round of fixes I've pushed up here, LMK, and I'll squash things down into a sane set of commits again. Everything squashes down cleanly, so 😤. |
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.
When our CI runs:
cargo check -p naga --no-default-features
it gets a lot of warnings about unused functions, etc. in src/valid/handles.rs
. We should put #[cfg(feature = "validate")]
in the appropriate places (perhaps on the entire valid::handles
module?) to make the non-validating configuration compile cleanly again.
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.
I'll need to get back to the rest of this tomorrow, but here are some comments so far.
…r::validate` Intended to resolve <gfx-rs#2090 (comment)>.
…r::validate` Should implement <gfx-rs#2090 (comment)>.
Silenced warnings with 113957a. |
df755c3
to
b4d4c24
Compare
I've autosquashed all reviewed content into a few (hopefully nice) commits. Now that I've rebased onto CC @jimblandy. |
…r::validate` Resolves <gfx-rs#2090 (comment)>.
…r::validate` Resolves <gfx-rs#2090 (comment)>.
…r::validate` Resolves <gfx-rs#2090 (comment)>.
…r::validate` Resolves <gfx-rs#2090 (comment)>.
7e56ad7
to
0ab6cc1
Compare
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 great! Just two small changes, and then I think we're ready to go.
Undo some changes from gfx-rs#1668, now that gfx-rs#2090 has been merged.
Undo some changes from gfx-rs#1668, now that gfx-rs#2090 has been merged.
Undo some changes from gfx-rs#1668, now that gfx-rs#2090 has been merged.
Resolves #1692. Recommended review experience is commit-by-commit.