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

Handle Unpack2x16float in hlsl #2002

Merged
merged 2 commits into from
Jul 17, 2022

Conversation

expenses
Copy link
Contributor

@expenses expenses commented Jul 8, 2022

f16tof32 handles unpacking of the lower half of a uint to a 16-bit float, so we need to call that twice, with a bitshift the second time.

src/back/hlsl/writer.rs Outdated Show resolved Hide resolved
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Cool stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants