Cycles: first step for implementation of non-progressive sampler that handles
[blender.git] / intern / cycles / kernel / kernel_emission.h
index f582ace69f0a2b1424cbaaf02b7e5fb7e948de35..53d53b4bedd498b71aed4e21aaa56dec566fca45 100644 (file)
@@ -67,7 +67,7 @@ __device bool direct_emission(KernelGlobals *kg, ShaderData *sd, int lindex,
 
        float pdf = -1.0f;
 
-#ifdef __MULTI_LIGHT__
+#ifdef __NON_PROGRESSIVE__
        if(lindex != -1) {
                /* sample position on a specified light */
                light_select(kg, lindex, randu, randv, sd->P, &ls, &pdf);