Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Context not available. | |||||
| #define __KERNEL_CPU__ | #define __KERNEL_CPU__ | ||||
| #endif | #endif | ||||
| #ifdef __KERNEL_CPU__ | |||||
| /* Embree */ | |||||
| #include <embree2/rtcore.h> | |||||
| #include <embree2/rtcore_ray.h> | |||||
| #endif | |||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* constants */ | /* constants */ | ||||
| Context not available. | |||||
| #define __VISIBILITY_FLAG__ | #define __VISIBILITY_FLAG__ | ||||
| #define __RAY_DIFFERENTIALS__ | #define __RAY_DIFFERENTIALS__ | ||||
| #define __CAMERA_CLIPPING__ | #define __CAMERA_CLIPPING__ | ||||
| #define __INTERSECTION_REFINE__ | //#define __INTERSECTION_REFINE__ | ||||
| #define __CLAMP_SAMPLE__ | #define __CLAMP_SAMPLE__ | ||||
| #ifdef __KERNEL_SHADING__ | #ifdef __KERNEL_SHADING__ | ||||
| Context not available. | |||||
| int prim; | int prim; | ||||
| int object; | int object; | ||||
| int type; | int type; | ||||
| float3 Ng; | |||||
| #ifdef __KERNEL_DEBUG__ | #ifdef __KERNEL_DEBUG__ | ||||
| int num_traversal_steps; | int num_traversal_steps; | ||||
| Context not available. | |||||
| int have_motion; | int have_motion; | ||||
| int have_curves; | int have_curves; | ||||
| int have_instancing; | int have_instancing; | ||||
| int use_embree; | |||||
| int pad1, pad2, pad3; | int pad1, pad2; | ||||
| } KernelBVH; | } KernelBVH; | ||||
| typedef enum CurveFlag { | typedef enum CurveFlag { | ||||
| Context not available. | |||||
| KernelBVH bvh; | KernelBVH bvh; | ||||
| KernelCurves curve; | KernelCurves curve; | ||||
| KernelTables tables; | KernelTables tables; | ||||
| RTCScene embree_scene; | |||||
| } KernelData; | } KernelData; | ||||
| #ifdef __KERNEL_DEBUG__ | #ifdef __KERNEL_DEBUG__ | ||||
| Context not available. | |||||