-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[HLSL] implement frac
intrinsic
#70099
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
Labels
Comments
farzonl
added a commit
to farzonl/llvm-project
that referenced
this issue
Feb 28, 2024
This change implements the frontend for llvm#70099 Builtins.td - add the frac builtin CGBuiltin.cpp - add the builtin to DirectX intrinsic mapping hlsl_intrinsics.h - add the frac api SemaChecking.cpp - add type checks for builtin IntrinsicsDirectX.td - add the frac intrinsic The backend changes for this are going to be very simple: llvm@f309a0e They were not included because llvm/lib/Target/DirectX/DXIL.td is going through a major refactor.
python3kgae
pushed a commit
that referenced
this issue
Feb 29, 2024
This change implements the frontend for #70099 Builtins.td - add the frac builtin CGBuiltin.cpp - add the builtin to DirectX intrinsic mapping hlsl_intrinsics.h - add the frac api SemaChecking.cpp - add type checks for builtin IntrinsicsDirectX.td - add the frac intrinsic The backend changes for this are going to be very simple: f309a0e They were not included because llvm/lib/Target/DirectX/DXIL.td is going through a major refactor.
farzonl
added a commit
that referenced
this issue
Mar 1, 2024
This change adds lowering for HLSL's frac intrinsic to DXIL. This change should complete #70099
52 tasks
51 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implement hlsl
frac
intrinsic:https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-frac
The text was updated successfully, but these errors were encountered: