Skip to content
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

Metal: test whether negative zero values are preserved by the existing Slang functions #4113

Open
jkwak-work opened this issue May 6, 2024 · 0 comments
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang kind:testing Improvements and additions to testing

Comments

@jkwak-work
Copy link
Collaborator

jkwak-work commented May 6, 2024

The math functions in Metal treat a negative zero differently from a positive zero.
The current Slang functions may not preserve the negative-ness of a zero value.
We need to test and make sure we respect negative zero values.

When targeting Metal and the input Slang shader calls non-native functions, we don't want to loss the sign-ness of negative zeros.

@jkwak-work jkwak-work added goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang kind:testing Improvements and additions to testing labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang kind:testing Improvements and additions to testing
Projects
None yet
Development

No branches or pull requests

1 participant