Cleanup: Always assign num_samples, there is no need for this special define.

This commit is contained in:
Thomas Dinges
2014-07-10 01:43:53 +02:00
parent b2e9fffc3d
commit dda60dd261
2 changed files with 0 additions and 5 deletions

View File

@@ -22,11 +22,7 @@ ccl_device_inline void path_state_init(KernelGlobals *kg, PathState *state, RNG
state->rng_offset = PRNG_BASE_NUM;
state->sample = sample;
#ifdef __CMJ__
state->num_samples = kernel_data.integrator.aa_samples;
#else
state->num_samples = 0;
#endif
state->bounce = 0;
state->diffuse_bounce = 0;