Code cleanup: fix warning and improve terminology.
This commit is contained in:
@@ -356,7 +356,7 @@ ccl_device void kernel_path_indirect(KernelGlobals *kg,
|
||||
* mainly due to the mixed in MIS that we use. gives too many unneeded
|
||||
* shader evaluations, only need emission if we are going to terminate */
|
||||
float probability =
|
||||
path_state_terminate_probability(kg,
|
||||
path_state_continuation_probability(kg,
|
||||
state,
|
||||
throughput*num_samples);
|
||||
|
||||
@@ -717,7 +717,7 @@ ccl_device_inline float kernel_path_integrate(KernelGlobals *kg,
|
||||
/* path termination. this is a strange place to put the termination, it's
|
||||
* mainly due to the mixed in MIS that we use. gives too many unneeded
|
||||
* shader evaluations, only need emission if we are going to terminate */
|
||||
float probability = path_state_terminate_probability(kg, &state, throughput);
|
||||
float probability = path_state_continuation_probability(kg, &state, throughput);
|
||||
|
||||
if(probability == 0.0f) {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user