Fix a few OpenCL compiler warnings.

This commit is contained in:
Brecht Van Lommel
2016-09-03 23:06:12 +02:00
parent 95cb714511
commit e76e8fcdcc
4 changed files with 4 additions and 4 deletions

View File

@@ -296,7 +296,7 @@ ccl_device float4 svm_image_texture(KernelGlobals *kg, int id, float x, float y,
/* float, byte and half */
else {
float f = kernel_tex_image_interp_float(tex, x, y);
r = make_float4(f, f, f, 1.0);
r = make_float4(f, f, f, 1.0f);
}
# endif
#endif