diff options
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/kernel_path.h | 1 | ||||
-rw-r--r-- | intern/cycles/kernel/kernel_volume.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h index d124ce4884e..c03229f0a3a 100644 --- a/intern/cycles/kernel/kernel_path.h +++ b/intern/cycles/kernel/kernel_path.h @@ -373,7 +373,6 @@ ccl_device void kernel_path_subsurface_update_volume_stack(KernelGlobals *kg, Ray volume_ray = *ray; Intersection isect; - const float3 Pend = volume_ray.P + volume_ray.D*volume_ray.t; while(scene_intersect_volume(kg, &volume_ray, &isect)) { diff --git a/intern/cycles/kernel/kernel_volume.h b/intern/cycles/kernel/kernel_volume.h index 0100a5badbe..93cb4c120ea 100644 --- a/intern/cycles/kernel/kernel_volume.h +++ b/intern/cycles/kernel/kernel_volume.h @@ -976,7 +976,6 @@ ccl_device void kernel_volume_stack_init(KernelGlobals *kg, return; } - const float3 Pend = ray->P + ray->D*ray->t; Ray volume_ray = *ray; volume_ray.t = FLT_MAX; |