22 struct OSLShadingSystem;
38 #define KERNEL_DATA_ARRAY(type, name) kernel_array<type> name;
47 OSLShadingSystem *osl_ss;
48 OSLThreadData *osl_tdata;
59 #define kernel_data_fetch(name, index) (kg->name.fetch(index))
60 #define kernel_data_array(name) (kg->name.data)
61 #define kernel_data (kg->data)
#define kernel_assert(cond)
#define CCL_NAMESPACE_END
struct KernelGlobalsCPU KernelGlobalsCPU
const KernelGlobalsCPU *ccl_restrict KernelGlobals
#define ccl_always_inline
ccl_always_inline const T & fetch(int index) const