Signed-off-by: Homer Hsing <[email protected]>
---
 backend/src/ocl_stdlib.tmpl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/src/ocl_stdlib.tmpl.h b/backend/src/ocl_stdlib.tmpl.h
index d8e8afc..ec49987 100644
--- a/backend/src/ocl_stdlib.tmpl.h
+++ b/backend/src/ocl_stdlib.tmpl.h
@@ -258,6 +258,7 @@ DEC(16);
 
 #define DEF(type) INLINE_OVERLOADABLE type bitselect(type a, type b, type c) { 
return (a & ~c) | (b & c); }
 DEF(char); DEF(uchar); DEF(short); DEF(ushort); DEF(int); DEF(uint)
+DEF(long); DEF(ulong)
 #undef DEF
 INLINE_OVERLOADABLE float bitselect(float a, float b, float c) {
   return as_float(bitselect(as_int(a), as_int(b), as_int(c)));
-- 
1.8.1.2

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to