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

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

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

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

    // Clear reservoir.
    reservoirs[idx].w = 0.0f;
    reservoirs[idx].m = 0;
    reservoirs[idx].light_idx = -1;
    reservoirs[idx].light_pdf = 0.0f;

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