-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix typing for select
#7572
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
base: trunk
Are you sure you want to change the base?
Fix typing for select
#7572
Conversation
991856b
to
cfd29df
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
cfd29df
to
c6dcb79
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
c6dcb79
to
62c8609
Compare
2de9a82
to
83ad8bb
Compare
This comment was marked as resolved.
This comment was marked as resolved.
select
select
db91e44
to
2f271ab
Compare
d792084
to
817989b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
6db2cc1
to
6e62829
Compare
6e62829
to
88fa2bb
Compare
|
||
let select_single_component = | ||
|this: &mut Self, reject_scalar, reject, accept, condition| { | ||
let accept = this.cast(accept, reject_scalar, span)?; |
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.
Migrated from #7602 (comment): @jimblandy was wondering if we really needed cast
here. So far as I can tell...yes.
naga/src/valid/expression.rs
Outdated
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.
todo: Drop changes here. I'd originally changed this code, with a refactor that's no longer needed.
dd40727
to
1881436
Compare
select
select
1881436
to
4c8503b
Compare
Connections
Depends on feat(naga): constant evaluation forselect
#7602.select
#7538.Testing
Tests have been added, as well as a test run against
webgpu:shader,execution,expression,call,builtin,select:*
in a locally modified Firefox.Squash or Rebase?
rebase plz
Checklist
CHANGELOG.md
entry.