diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-28 14:21:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-28 14:21:17 +0300 |
commit | 4245ed360e587fec1bdd2c3bac3b318865bba8bc (patch) | |
tree | c47ea32611a3fb108605538eef3f9b98fdf8552c /intern/cycles/kernel/kernels/cpu | |
parent | a85f457195045dff3d31d4de739d9a98fba62cc2 (diff) |
Cycles: Cleanup, indentaiton and trailing whitespace and wrapping
Diffstat (limited to 'intern/cycles/kernel/kernels/cpu')
-rw-r--r-- | intern/cycles/kernel/kernels/cpu/kernel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/kernel/kernels/cpu/kernel.cpp b/intern/cycles/kernel/kernels/cpu/kernel.cpp index db2de6836d3..998619ac897 100644 --- a/intern/cycles/kernel/kernels/cpu/kernel.cpp +++ b/intern/cycles/kernel/kernels/cpu/kernel.cpp @@ -115,7 +115,7 @@ void kernel_tex_copy(KernelGlobals *kg, texture_image_float *tex = NULL; int id = atoi(name + strlen("__tex_image_float_")); int array_index = kernel_tex_index(id); - + if(array_index >= 0) { if(array_index >= kg->texture_float_images.size()) { kg->texture_float_images.resize(array_index+1); @@ -134,7 +134,7 @@ void kernel_tex_copy(KernelGlobals *kg, texture_image_uchar4 *tex = NULL; int id = atoi(name + strlen("__tex_image_byte4_")); int array_index = kernel_tex_index(id); - + if(array_index >= 0) { if(array_index >= kg->texture_byte4_images.size()) { kg->texture_byte4_images.resize(array_index+1); @@ -153,7 +153,7 @@ void kernel_tex_copy(KernelGlobals *kg, texture_image_uchar *tex = NULL; int id = atoi(name + strlen("__tex_image_byte_")); int array_index = kernel_tex_index(id); - + if(array_index >= 0) { if(array_index >= kg->texture_byte_images.size()) { kg->texture_byte_images.resize(array_index+1); @@ -172,7 +172,7 @@ void kernel_tex_copy(KernelGlobals *kg, texture_image_half4 *tex = NULL; int id = atoi(name + strlen("__tex_image_half4_")); int array_index = kernel_tex_index(id); - + if(array_index >= 0) { if(array_index >= kg->texture_half4_images.size()) { kg->texture_half4_images.resize(array_index+1); @@ -191,7 +191,7 @@ void kernel_tex_copy(KernelGlobals *kg, texture_image_half *tex = NULL; int id = atoi(name + strlen("__tex_image_half_")); int array_index = kernel_tex_index(id); - + if(array_index >= 0) { if(array_index >= kg->texture_half_images.size()) { kg->texture_half_images.resize(array_index+1); |