diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-02-23 12:15:35 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-22 14:28:01 +0300 |
commit | 1de0e13af619e405f351bf42924f819dc3a9bc44 (patch) | |
tree | d1174cd7d3b362d21a9dddfb178ae15b5d9cc048 /intern/cycles/kernel/geom/geom_curve_intersect.h | |
parent | fed101a7be119f2e0c4ed64d13fd65f7a1c16118 (diff) |
Cycles: remove __UV__ and __INSTANCING__ as kernel options
The kernel did not work correctly when these were disabled anyway. The
optimized BVH traversal for the no instances case was also only used on
the CPU, so no longer makes sense to keep.
Ref T73778
Depends on D8010
Maniphest Tasks: T73778
Differential Revision: https://developer.blender.org/D8011
Diffstat (limited to 'intern/cycles/kernel/geom/geom_curve_intersect.h')
-rw-r--r-- | intern/cycles/kernel/geom/geom_curve_intersect.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/kernel/geom/geom_curve_intersect.h b/intern/cycles/kernel/geom/geom_curve_intersect.h index 402b4f73597..88963bea6ef 100644 --- a/intern/cycles/kernel/geom/geom_curve_intersect.h +++ b/intern/cycles/kernel/geom/geom_curve_intersect.h @@ -529,10 +529,8 @@ ccl_device_inline float3 curve_refine(KernelGlobals *kg, P = P + D * t; -# ifdef __UV__ sd->u = isect->u; sd->v = 0.0f; -# endif float3 tg = normalize(curvetangent(isect->u, p[0], p[1], p[2], p[3])); |