Cycles: Fixed OpenCL render after the Embree checkin.

This commit is contained in:
Stefan Werner 2018-11-07 13:53:56 +01:00
parent 2c5531c0a5
commit e96986fa47
1 changed files with 2 additions and 0 deletions

View File

@ -422,6 +422,7 @@ ccl_device void transform_motion_array_interpolate(Transform *tfm,
transform_compose(tfm, &decomp);
}
#ifdef __EMBREE__
ccl_device void transform_motion_array_interpolate_straight(Transform *tfm, const ccl_global DecomposedTransform *motion, uint numsteps, float time)
{
/* Figure out which steps we need to interpolate. */
@ -441,6 +442,7 @@ ccl_device void transform_motion_array_interpolate_straight(Transform *tfm, cons
tfm->y = (1.0f - t) * step1.y + t * step2.y;
tfm->z = (1.0f - t) * step1.z + t * step2.z;
}
#endif
#ifndef __KERNEL_GPU__