diff options
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/integrator/integrator_state.h | 2 | ||||
-rw-r--r-- | intern/cycles/kernel/integrator/integrator_state_util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/integrator/integrator_state.h b/intern/cycles/kernel/integrator/integrator_state.h index 84efcb00349..09b399ff1b8 100644 --- a/intern/cycles/kernel/integrator/integrator_state.h +++ b/intern/cycles/kernel/integrator/integrator_state.h @@ -139,7 +139,7 @@ typedef struct IntegratorStateGPU { ccl_global int *next_shadow_path_index; /* Index of main path which will be used by a next shadow catcher split. */ - ccl_global int *next_shadow_catcher_path_index; + ccl_global int *next_main_path_index; } IntegratorStateGPU; /* Abstraction diff --git a/intern/cycles/kernel/integrator/integrator_state_util.h b/intern/cycles/kernel/integrator/integrator_state_util.h index 5bcb9cc2d67..6da41cddcf8 100644 --- a/intern/cycles/kernel/integrator/integrator_state_util.h +++ b/intern/cycles/kernel/integrator/integrator_state_util.h @@ -274,7 +274,7 @@ ccl_device_inline void integrator_state_shadow_catcher_split(KernelGlobals kg, { #if defined(__KERNEL_GPU__) ConstIntegratorState to_state = atomic_fetch_and_add_uint32( - &kernel_integrator_state.next_shadow_catcher_path_index[0], 1); + &kernel_integrator_state.next_main_path_index[0], 1); integrator_state_copy_only(kg, to_state, state); #else |