     bool isFillAOV,
     idaten::Path* paths,
     aten::ray* rays,
+    idaten::Reservoir* reservoirs,
     int width, int height,
     int sample,
     unsigned int frame,

    paths->attrib[idx].isSingular = false;

    paths->contrib[idx].samples += 1;

    // Accumulate value, so do not reset.
    //path.contrib = aten::vec3(0);

            isFillAOV,
            m_paths.ptr(),
            m_rays.ptr(),
            m_reservoirs[0].ptr(),
            m_tileDomain.w, m_tileDomain.h,
            sample,
            m_frame,
