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

Implement bitcast for 66-bit date type #5895

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

kaizhangNV
Copy link
Contributor

Close #5470

@kaizhangNV kaizhangNV requested a review from a team as a code owner December 17, 2024 17:07
@kaizhangNV kaizhangNV added the pr: non-breaking PRs without breaking changes label Dec 17, 2024
source/slang/slang-emit-hlsl.h Outdated Show resolved Hide resolved
source/slang/slang-emit-hlsl.cpp Outdated Show resolved Hide resolved
source/slang/slang-emit-hlsl.cpp Outdated Show resolved Hide resolved
Move 'ensurePrelude' to base class to remove duplication,
also assert on 'double' type for Metal target, as Metal doesn't
have 'double' support.
@kaizhangNV
Copy link
Contributor Author

@csyonghe can you give it another review?

Copy link
Collaborator

@csyonghe csyonghe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kaizhangNV kaizhangNV merged commit 6f57e47 into shader-slang:master Dec 18, 2024
16 checks passed
@kaizhangNV kaizhangNV deleted the bitcast_64 branch December 18, 2024 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug on supporting bit_cast<uint64_t>(double)
2 participants