Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-30 14:03:13 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-30 14:03:13 +0400
commitf7078dcbe270dcdf1da25c75f1dbb4a04acfdea3 (patch)
treeb30f34d649a3e088834a405fabd67aaea7dc79d5 /intern/cycles/kernel/kernel_compat_opencl.h
parent281f50cfcc644148366d58362403d83efeefb62f (diff)
Cycles: remove a few usages of double, to fix opencl warnings.
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_opencl.h')
-rw-r--r--intern/cycles/kernel/kernel_compat_opencl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h
index 9fbd8566ecd..a9d18588cc8 100644
--- a/intern/cycles/kernel/kernel_compat_opencl.h
+++ b/intern/cycles/kernel/kernel_compat_opencl.h
@@ -78,7 +78,7 @@ __device float kernel_tex_interp_(__global float *data, int width, float x)
#define make_float2(x, y) ((float2)(x, y))
#ifdef __CL_NO_FLOAT3__
-#define make_float3(x, y, z) ((float4)(x, y, z, 0.0))
+#define make_float3(x, y, z) ((float4)(x, y, z, 0.0f))
#else
#define make_float3(x, y, z) ((float3)(x, y, z))
#endif