diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-03 17:00:55 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-03 17:00:55 +0300 |
commit | 3aa74828ab627723e6c98163bf6344ef1f009bcf (patch) | |
tree | 7dbb827dbb794d8f71ecd4c8047a8d0fff272f6c /intern/cycles/device/device_opencl.cpp | |
parent | 87cbcd697b778b8c5500634a5193bdf67700b3a6 (diff) |
Cycles: Cleanup, indentation and braces
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index c41da549c61..1b4e5421b5a 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -994,7 +994,8 @@ public: if(path_exists(clbin) && load_binary(kernel_path, clbin, build_flags, - &cpProgram)) { + &cpProgram)) + { /* Kernel loaded from binary, nothing to do. */ VLOG(2) << "Loaded kernel from " << clbin << "."; } @@ -1672,7 +1673,8 @@ public: clbin, custom_kernel_build_options, &path_trace_program, - debug_src)) { + debug_src)) + { /* Kernel loaded from binary, nothing to do. */ } else { @@ -2080,7 +2082,8 @@ public: clbin, custom_kernel_build_options, program, - debug_src)) { + debug_src)) + { /* Kernel loaded from binary. */ } else { |