Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 1,151 Lines • ▼ Show 20 Lines | |||||
| typedef struct KernelData { | typedef struct KernelData { | ||||
| KernelCamera cam; | KernelCamera cam; | ||||
| KernelFilm film; | KernelFilm film; | ||||
| KernelBackground background; | KernelBackground background; | ||||
| KernelIntegrator integrator; | KernelIntegrator integrator; | ||||
| KernelBVH bvh; | KernelBVH bvh; | ||||
| KernelCurves curve; | KernelCurves curve; | ||||
| KernelTables tables; | KernelTables tables; | ||||
| uint bindless_mapping[4096]; /*TODO(dingto): Dynamic alloc */ | |||||
| } KernelData; | } KernelData; | ||||
| #ifdef __KERNEL_DEBUG__ | #ifdef __KERNEL_DEBUG__ | ||||
| typedef ccl_addr_space struct DebugData { | typedef ccl_addr_space struct DebugData { | ||||
| // Total number of BVH node traversal steps and primitives intersections | // Total number of BVH node traversal steps and primitives intersections | ||||
| // for the camera rays. | // for the camera rays. | ||||
| int num_bvh_traversal_steps; | int num_bvh_traversal_steps; | ||||
| int num_bvh_traversed_instances; | int num_bvh_traversed_instances; | ||||
| ▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines | |||||