-
Notifications
You must be signed in to change notification settings - Fork 937
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
Impl. more component-wise built-ins in const. eval. #4879
Merged
ErichDonGubler
merged 21 commits into
gfx-rs:trunk
from
erichdongubler-mozilla:builtins-const-eval-1
Jan 18, 2024
Merged
Impl. more component-wise built-ins in const. eval. #4879
ErichDonGubler
merged 21 commits into
gfx-rs:trunk
from
erichdongubler-mozilla:builtins-const-eval-1
Jan 18, 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
naga
Shader Translator
kind: refactor
Making existing function faster or nicer
area: naga processing
Passes over IR in the middle
labels
Dec 14, 2023
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
2 times, most recently
from
December 14, 2023 15:51
435ed16
to
596bef9
Compare
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
2 times, most recently
from
December 22, 2023 13:06
333cb71
to
c7b07d9
Compare
ErichDonGubler
commented
Dec 22, 2023
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
2 times, most recently
from
December 22, 2023 14:13
342c881
to
7b7a115
Compare
This comment was marked as resolved.
This comment was marked as resolved.
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
from
December 22, 2023 14:23
7b7a115
to
7356181
Compare
ErichDonGubler
commented
Dec 22, 2023
73 tasks
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
from
December 22, 2023 19:56
0b06e78
to
e6e0dcf
Compare
teoxoy
requested changes
Jan 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.
Good stuff! Left some comments about handling edge-cases.
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
3 times, most recently
from
January 5, 2024 16:48
691f37a
to
99c54f4
Compare
jimblandy
reviewed
Jan 8, 2024
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
from
January 10, 2024 22:51
99c54f4
to
b860233
Compare
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
3 times, most recently
from
January 11, 2024 21:19
53bfd62
to
528bfca
Compare
ErichDonGubler
dismissed
jimblandy’s stale review
January 18, 2024 21:22
Spoke on call, agreed to merge and iterate.
ErichDonGubler
force-pushed
the
builtins-const-eval-1
branch
from
January 18, 2024 21:37
d5cb4bd
to
af20cb3
Compare
ErichDonGubler
commented
Jan 18, 2024
🎉 |
This was referenced Jan 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: naga processing
Passes over IR in the middle
kind: refactor
Making existing function faster or nicer
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
Resolves many numeric built-ins listed under #4507, and sets the groundwork for many more.
Description
Adds support for evaluating the following built-in functions:
abs
saturate
cos
cosh
sin
sinh
tan
tanh
acos
acosh
asin
asinh
atan
atanh
round
step
sqrt
Testing
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.