* Fix OpenCL after uchar4 commit.
This commit is contained in:
parent
b5213b2dea
commit
6443bfdeb1
@ -68,6 +68,9 @@
|
||||
#ifdef make_int4
|
||||
#undef make_int4
|
||||
#endif
|
||||
#ifdef make_uchar4
|
||||
#undef make_uchar4
|
||||
#endif
|
||||
|
||||
#define make_float2(x, y) ((float2)(x, y))
|
||||
#ifdef __CL_NO_FLOAT3__
|
||||
@ -79,6 +82,7 @@
|
||||
#define make_int2(x, y) ((int2)(x, y))
|
||||
#define make_int3(x, y, z) ((int3)(x, y, z))
|
||||
#define make_int4(x, y, z, w) ((int4)(x, y, z, w))
|
||||
#define make_uchar4(x, y, z, w) ((uchar4)(x, y, z, w))
|
||||
|
||||
/* math functions */
|
||||
#define __uint_as_float(x) as_float(x)
|
||||
|
Loading…
Reference in New Issue
Block a user