diff options
author | Thomas Dinges <blender@dingto.org> | 2014-10-05 20:10:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-15 15:06:06 +0400 |
commit | 621f3e05714f101b64d538eb13daca6660d83d81 (patch) | |
tree | 9684d9de9e838e624a4a4d4f438805e26622c980 /intern | |
parent | 71e17c3491dbed5a782737547b96272d8a9d9906 (diff) |
Fix T42081, OpenCL supports float3 since the 1.1 specification, not sure why we needed this.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernel_compat_opencl.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h index ecb4228fa05..58031a41b78 100644 --- a/intern/cycles/kernel/kernel_compat_opencl.h +++ b/intern/cycles/kernel/kernel_compat_opencl.h @@ -24,14 +24,6 @@ #define CCL_NAMESPACE_BEGIN #define CCL_NAMESPACE_END -#ifdef __KERNEL_OPENCL_AMD__ -#define __CL_NO_FLOAT3__ -#endif - -#ifdef __CL_NO_FLOAT3__ -#define float3 float4 -#endif - #ifdef __CL_NOINLINE__ #define ccl_noinline __attribute__((noinline)) #else @@ -73,11 +65,7 @@ #endif #define make_float2(x, y) ((float2)(x, y)) -#ifdef __CL_NO_FLOAT3__ -#define make_float3(x, y, z) ((float4)(x, y, z, 0.0f)) -#else #define make_float3(x, y, z) ((float3)(x, y, z)) -#endif #define make_float4(x, y, z, w) ((float4)(x, y, z, w)) #define make_int2(x, y) ((int2)(x, y)) #define make_int3(x, y, z) ((int3)(x, y, z)) |