48#define KERNEL_DATA_ARRAY(type, name) kernel_array<const type> name;
49#define KERNEL_DATA_ARRAY_WRITABLE(type, name) kernel_array<type> name;
69 OSLGlobals *osl_globals_memory,
71 const int thread_index);
85#if defined(__PATH_GUIDING__)
87 openpgl::cpp::SampleStorage *opgl_sample_data_storage =
nullptr;
88 openpgl::cpp::Field *opgl_guiding_field =
nullptr;
92 int opgl_path_segment_storage_size = 0;
104#define kernel_data_fetch(name, index) (kg->name.fetch(index))
105#define kernel_data_write(name, index, value) (kg->name.write(index, value))
106#define kernel_data_array(name) (kg->name.data)
107#define kernel_data (kg->data)
108#if defined(WITH_PATH_GUIDING)
109# define guiding_guiding_field kg->opgl_guiding_field
110# define guiding_ssd kg->opgl_surface_sampling_distribution
111# define guiding_vsd kg->opgl_volume_sampling_distribution
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
#define ccl_always_inline
const ThreadKernelGlobalsCPU * KernelGlobals
#define kernel_assert(cond)
#define CCL_NAMESPACE_END
KernelImageLoadRequestedCPU image_load_requested_cpu
CCL_NAMESPACE_END KernelData data
ThreadKernelGlobalsCPU(const KernelGlobalsCPU &kernel_globals, OSLGlobals *osl_globals_memory, Profiler &cpu_profiler, const int thread_index)
const ccl_always_inline T & fetch(const int index) const
ccl_always_inline void write(const int index, const T &value) const
std::function< void(size_t, int, int, int, KernelTileDescriptor &tile_descriptor)> KernelImageLoadRequestedCPU