From 3aa74828ab627723e6c98163bf6344ef1f009bcf Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 3 Feb 2016 15:00:55 +0100 Subject: Cycles: Cleanup, indentation and braces --- intern/cycles/device/device_opencl.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'intern/cycles/device/device_opencl.cpp') 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 { -- cgit v1.2.3