-
Notifications
You must be signed in to change notification settings - Fork 210
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
Implement math intrinsics for WGSL #5078
Implement math intrinsics for WGSL #5078
Conversation
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!
Many CI actions are failing but they don't seem to be related to my change, because they seem to be failing to checkout from github repository. I will re-trigger the failed tests later and see if it works out. |
@jkwak-work any idea on the failed CI runs? |
I am still investigating. |
It turned out that the CI failures are due to my change. slang/tools/slang-test/slang-test-main.cpp Line 957 in 25d1559
The target, SLANG_WGSL, was not handled in this function. |
This commit implements math related intrinsics and a few others for WGSL. The implementation is based on the following doc, https://www.w3.org/TR/WGSL
slang-test was looking for the downstream compiler for WGSL even though it is not used. This commit adds a minimal change to avoid the crash.
2994aac
to
5f103c6
Compare
All CI are now passing. |
This commit implements math related intrinsics and a few others for WGSL.
The implementation is based on the following doc,
https://www.w3.org/TR/WGSL