[Libclc-dev] [PATCH] Add int3/uint3 to integer-gentype.inc

Aaron Watry awatry at gmail.com
Thu Aug 21 15:24:14 PDT 2014


These were missing and caused mad24/mul24 with int3/uint3 arg type to fail

Signed-off-by: Aaron Watry <awatry at gmail.com>
---
 generic/include/clc/integer/integer-gentype.inc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/generic/include/clc/integer/integer-gentype.inc b/generic/include/clc/integer/integer-gentype.inc
index 6470eb3..e4115cf 100644
--- a/generic/include/clc/integer/integer-gentype.inc
+++ b/generic/include/clc/integer/integer-gentype.inc
@@ -6,6 +6,10 @@
 #include __CLC_BODY
 #undef __CLC_GENTYPE
 
+#define __CLC_GENTYPE int3
+#include __CLC_BODY
+#undef __CLC_GENTYPE
+
 #define __CLC_GENTYPE int4
 #include __CLC_BODY
 #undef __CLC_GENTYPE
@@ -26,6 +30,10 @@
 #include __CLC_BODY
 #undef __CLC_GENTYPE
 
+#define __CLC_GENTYPE uint3
+#include __CLC_BODY
+#undef __CLC_GENTYPE
+
 #define __CLC_GENTYPE uint4
 #include __CLC_BODY
 #undef __CLC_GENTYPE
-- 
1.9.1





More information about the Libclc-dev mailing list