-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
HLSLHLSL Language SupportHLSL Language Support
Description
This is in continuation of issue #129003.
We are currently not restricting vector sizes for the fmod intrinsic.
llvm-project/clang/lib/Headers/hlsl/hlsl_intrinsics.h
Lines 137 to 146 in 9d7e1d9
| template <int N> | |
| _HLSL_16BIT_AVAILABILITY(shadermodel, 6.2) | |
| const inline vector<half, N> fmod(vector<half, N> X, vector<half, N> Y) { | |
| return __detail::fmod_vec_impl(X, Y); | |
| } | |
| template <int N> | |
| const inline vector<float, N> fmod(vector<float, N> X, vector<float, N> Y) { | |
| return __detail::fmod_vec_impl(X, Y); | |
| } |
We need to exclude vec1s and limit to vec4s, similar to how PR #130724 does it.
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Support
Type
Projects
Status
Closed