summaryrefslogtreecommitdiff
path: root/generic/include/clc/clc.h
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-03-20 17:48:04 -0500
committerAaron Watry <awatry@gmail.com>2013-03-20 17:48:04 -0500
commit0e990d39ce61f9d1a0dd47cb46a3263476d626c6 (patch)
tree576baefbf2392b04ee142c1313d390b38e75c88d /generic/include/clc/clc.h
parent42678915299cc85229c3806ae644ed5793d2ab27 (diff)
libclc: Add clamp() builtin for integer/floating point
Created under a new shared/ directory for functions which are available for both integer and floating point types.
Diffstat (limited to 'generic/include/clc/clc.h')
-rw-r--r--generic/include/clc/clc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index f6668a3..80ecd01 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -67,6 +67,9 @@
#include <clc/integer/max.h>
#include <clc/integer/sub_sat.h>
+/* 6.11.2 and 6.11.3 Shared Integer/Math Functions */
+#include <clc/shared/clamp.h>
+
/* 6.11.5 Geometric Functions */
#include <clc/geometric/cross.h>
#include <clc/geometric/dot.h>