llvm-project/clang/test/CodeGenHLSL/builtins
Joshua Batista be07c80cf7 [HLSL] add ceil library function
This change exposes the ceil library function for HLSL,
excluding long, int, and long long doubles.
Ceil is supported for all scalar, vector, and matrix types.

Long and long long double support is missing in this patch because those types
don't exist in HLSL. Int is missing because the ceil function only works on floating type arguments.

The full documentation of the HLSL ceil function is available here:
https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-ceil

Reviewed By: python3kgae

Differential Revision: https://reviews.llvm.org/D134319
2022-09-29 14:03:30 -07:00
..
RWBuffer-annotations.hlsl [HLSL] CodeGen HLSL Resource annotations 2022-08-01 11:19:43 -05:00
RWBuffer-constructor.hlsl
RWBuffer-subscript.hlsl [HLSL] Adding a test change I forgot to add 2022-09-13 20:53:39 -05:00
abs.hlsl [HLSL] [clang] Add vector version of abs for HLSL 2022-09-18 14:59:30 -07:00
ceil.hlsl [HLSL] add ceil library function 2022-09-29 14:03:30 -07:00
create_handle.hlsl
sqrt.hlsl [HLSL] add sqrt library function 2022-09-20 15:42:08 -05:00