Cycles: Cleanup, remove bvh prefix from curve functions

Those are nothing to do with BVH, and can be used separately.
This commit is contained in:
Sergey Sharybin
2017-08-07 19:47:31 +02:00
parent a4bbce8949
commit 95fe9b2617
6 changed files with 133 additions and 100 deletions

View File

@@ -83,7 +83,7 @@ ccl_device_noinline void shader_setup_from_ray(KernelGlobals *kg,
float4 curvedata = kernel_tex_fetch(__curves, sd->prim);
sd->shader = __float_as_int(curvedata.z);
sd->P = bvh_curve_refine(kg, sd, isect, ray);
sd->P = curve_refine(kg, sd, isect, ray);
}
else
#endif