diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-03 11:56:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-03 12:03:56 +0300 |
commit | b9f89b164785f28b023af071d696c298deba4f63 (patch) | |
tree | 4fd045caacf2850d34820ac4d07422ca83cc2fba /intern/cycles/kernel/split/kernel_next_iteration_setup.h | |
parent | 80f344fd952a42fd7250e1eca67c8f2c19d8897b (diff) |
Cycles: Code cleanup in split kernel, whitespaces
Diffstat (limited to 'intern/cycles/kernel/split/kernel_next_iteration_setup.h')
-rw-r--r-- | intern/cycles/kernel/split/kernel_next_iteration_setup.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/split/kernel_next_iteration_setup.h b/intern/cycles/kernel/split/kernel_next_iteration_setup.h index 2dbdabc5fd3..e1a1577d7ae 100644 --- a/intern/cycles/kernel/split/kernel_next_iteration_setup.h +++ b/intern/cycles/kernel/split/kernel_next_iteration_setup.h @@ -127,14 +127,13 @@ ccl_device char kernel_next_iteration_setup( } if(IS_STATE(ray_state, ray_index, RAY_ACTIVE)) { - ccl_global float3 *throughput = &throughput_coop[ray_index]; ccl_global Ray *ray = &Ray_coop[ray_index]; ccl_global RNG* rng = &rng_coop[ray_index]; state = &PathState_coop[ray_index]; L = &PathRadiance_coop[ray_index]; - /* compute direct lighting and next bounce */ + /* Compute direct lighting and next bounce. */ if(!kernel_path_surface_bounce(kg, rng, sd, throughput, state, L, ray)) { ASSIGN_RAY_STATE(ray_state, ray_index, RAY_UPDATE_BUFFER); enqueue_flag = 1; |