Cycles: Add _all suffix to shadow traversal file
Matches better naming of volume traversal files, where we've got optimized versions of a single step of volume intersection and traversal which will gather all volume intersections.
This commit is contained in:
@@ -31,13 +31,13 @@ set(SRC
|
||||
set(SRC_BVH_HEADERS
|
||||
bvh/bvh.h
|
||||
bvh/bvh_nodes.h
|
||||
bvh/bvh_shadow.h
|
||||
bvh/bvh_shadow_all.h
|
||||
bvh/bvh_subsurface.h
|
||||
bvh/bvh_traversal.h
|
||||
bvh/bvh_volume.h
|
||||
bvh/bvh_volume_all.h
|
||||
bvh/qbvh_nodes.h
|
||||
bvh/qbvh_shadow.h
|
||||
bvh/qbvh_shadow_all.h
|
||||
bvh/qbvh_subsurface.h
|
||||
bvh/qbvh_traversal.h
|
||||
bvh/qbvh_volume.h
|
||||
|
||||
@@ -153,31 +153,31 @@ CCL_NAMESPACE_BEGIN
|
||||
#if defined(__SHADOW_RECORD_ALL__)
|
||||
# define BVH_FUNCTION_NAME bvh_intersect_shadow_all
|
||||
# define BVH_FUNCTION_FEATURES 0
|
||||
# include "bvh_shadow.h"
|
||||
# include "bvh_shadow_all.h"
|
||||
#endif
|
||||
|
||||
#if defined(__SHADOW_RECORD_ALL__) && defined(__INSTANCING__)
|
||||
# define BVH_FUNCTION_NAME bvh_intersect_shadow_all_instancing
|
||||
# define BVH_FUNCTION_FEATURES BVH_INSTANCING
|
||||
# include "bvh_shadow.h"
|
||||
# include "bvh_shadow_all.h"
|
||||
#endif
|
||||
|
||||
#if defined(__SHADOW_RECORD_ALL__) && defined(__HAIR__)
|
||||
# define BVH_FUNCTION_NAME bvh_intersect_shadow_all_hair
|
||||
# define BVH_FUNCTION_FEATURES BVH_INSTANCING|BVH_HAIR
|
||||
# include "bvh_shadow.h"
|
||||
# include "bvh_shadow_all.h"
|
||||
#endif
|
||||
|
||||
#if defined(__SHADOW_RECORD_ALL__) && defined(__OBJECT_MOTION__)
|
||||
# define BVH_FUNCTION_NAME bvh_intersect_shadow_all_motion
|
||||
# define BVH_FUNCTION_FEATURES BVH_INSTANCING|BVH_MOTION
|
||||
# include "bvh_shadow.h"
|
||||
# include "bvh_shadow_all.h"
|
||||
#endif
|
||||
|
||||
#if defined(__SHADOW_RECORD_ALL__) && defined(__HAIR__) && defined(__OBJECT_MOTION__)
|
||||
# define BVH_FUNCTION_NAME bvh_intersect_shadow_all_hair_motion
|
||||
# define BVH_FUNCTION_FEATURES BVH_INSTANCING|BVH_HAIR|BVH_MOTION
|
||||
# include "bvh_shadow.h"
|
||||
# include "bvh_shadow_all.h"
|
||||
#endif
|
||||
|
||||
/* Record all intersections - Volume BVH traversal */
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifdef __QBVH__
|
||||
# include "qbvh_shadow.h"
|
||||
# include "qbvh_shadow_all.h"
|
||||
#endif
|
||||
|
||||
#if BVH_FEATURE(BVH_HAIR)
|
||||
Reference in New Issue
Block a user