Aaron Watry
1314630ec3
Move mix from math to common
...
It has been part of the common functions since 1.0
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 231137
2015-03-03 21:25:08 +00:00
Tom Stellard
9d0d374c5b
Implement step builtin
...
This has been tested with piglit, OpenCV, and the ocl conformance tests.
llvm-svn: 230970
2015-03-02 15:29:41 +00:00
Tom Stellard
1f28b14bba
Implement smoothstep builtin v2
...
This has been tested with piglit, OpenCV, and the ocl conformance tests.
v2:
- Fix typo in smoothstep.h
llvm-svn: 230969
2015-03-02 15:29:39 +00:00
Tom Stellard
f5e5b0171d
Implement radians builtin v2
...
This has been tested with piglit, OpenCV, and the ocl conformance tests.
v2:
- Move to the common/ directory
llvm-svn: 230968
2015-03-02 15:29:37 +00:00
Tom Stellard
8336b3a604
Implement degrees builtin v2
...
This has been tested with piglit, OpenCV, and the ocl conformance tests.
v2:
- Move to the common/ directory
llvm-svn: 230967
2015-03-02 15:29:35 +00:00
Jeroen Ketema
526fe2d501
Move clcmacro.h to avoid cluttering user namespace v2
...
v2: - use quotes instead of <>
- add include to r600/lib/math/nextafter.c changed
Reviewed-by: Tom Stellard <tom@stellard.net>
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 211576
2014-06-24 09:36:32 +00:00
Tom Stellard
436bf70519
Implement sign() builtin
...
llvm-svn: 192384
2013-10-10 19:08:56 +00:00