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

Cross-compilation: survey builtin HLSL functions #14

Closed
tangent-vector opened this issue Jun 15, 2017 · 1 comment
Closed

Cross-compilation: survey builtin HLSL functions #14

tangent-vector opened this issue Jun 15, 2017 · 1 comment
Labels
kind:enhancement a desirable new feature, option, or behavior

Comments

@tangent-vector
Copy link
Contributor

I added a hand-written translation in an __intrinsic attribute for saturate(), but the same needs to be done for many other functions.

The ideal case is to do a systematic survey of the HLSL "standard library" and attach GLSL equivalents to all the functions that we can handle easily.

Notes:

  • We don't currently haven good support for remapping types. That might be worth adding.
  • The current approach to remapping with __intrinsic doesn't account for member function calls. That should get fixed.
@tangent-vector tangent-vector added cross compilation kind:enhancement a desirable new feature, option, or behavior labels Jun 15, 2017
@tangent-vector tangent-vector added this to the SIGGRAPH 2017 milestone Jun 15, 2017
@tangent-vector tangent-vector removed this from the SIGGRAPH 2017 milestone Oct 11, 2017
@tangent-vector
Copy link
Contributor Author

Closing. We've covered most of this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:enhancement a desirable new feature, option, or behavior
Projects
None yet
Development

No branches or pull requests

1 participant