43#define KERNEL_DATA_ARRAY(type, name) kernel_array<type> name;
61 OSLGlobals *osl_globals_memory,
63 const int thread_index);
77#if defined(__PATH_GUIDING__)
79 openpgl::cpp::SampleStorage *opgl_sample_data_storage =
nullptr;
80 openpgl::cpp::Field *opgl_guiding_field =
nullptr;
95#define kernel_data_fetch(name, index) (kg->name.fetch(index))
96#define kernel_data_array(name) (kg->name.data)
97#define kernel_data (kg->data)
98#if defined(WITH_PATH_GUIDING)
99# define guiding_guiding_field kg->opgl_guiding_field
100# define guiding_ssd kg->opgl_surface_sampling_distribution
101# define guiding_vsd kg->opgl_volume_sampling_distribution
#define ccl_always_inline
const ThreadKernelGlobalsCPU * KernelGlobals
#define kernel_assert(cond)
#define CCL_NAMESPACE_END
CCL_NAMESPACE_END KernelData data
ThreadKernelGlobalsCPU(const KernelGlobalsCPU &kernel_globals, OSLGlobals *osl_globals_memory, Profiler &cpu_profiler, const int thread_index)
ThreadKernelGlobalsCPU & operator=(const ThreadKernelGlobalsCPU &other)=delete
const ccl_always_inline T & fetch(const int index) const