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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-02-22 12:04:13 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-02-22 12:06:02 +0300
commit2c30fd83f1513b4e9f146024501b15bd31ee4804 (patch)
treed20addf4f6511d49e64684d121ce9d6513f9886e /intern/cycles/device
parentae1c1cd8c0da0c4b86efc171d5a6e34fbfb50d67 (diff)
Cycles: Additionally report all OpenCL cflags
This way we can control exact spaces and such added to the cflags which is crucial to troubleshoot certain drivers.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/opencl/opencl_util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/device/opencl/opencl_util.cpp b/intern/cycles/device/opencl/opencl_util.cpp
index 82e1640e508..c7760e075cb 100644
--- a/intern/cycles/device/opencl/opencl_util.cpp
+++ b/intern/cycles/device/opencl/opencl_util.cpp
@@ -309,6 +309,8 @@ bool OpenCLDeviceBase::OpenCLProgram::build_kernel(const string *debug_src)
string build_options;
build_options = device->kernel_build_options(debug_src) + kernel_build_options;
+ VLOG(1) << "Build options passed to clBuildProgram: '"
+ << build_options << "'.";
cl_int ciErr = clBuildProgram(program, 0, NULL, build_options.c_str(), NULL, NULL);
/* show warnings even if build is successful */