11#define KERNEL_INTEGRATOR_FUNCTION(name) \
12 void KERNEL_FUNCTION_FULL_NAME(integrator_##name)(const KernelGlobalsCPU *ccl_restrict kg, \
13 IntegratorStateCPU *state)
15#define KERNEL_INTEGRATOR_SHADE_FUNCTION(name) \
16 void KERNEL_FUNCTION_FULL_NAME(integrator_##name)(const KernelGlobalsCPU *ccl_restrict kg, \
17 IntegratorStateCPU *state, \
18 ccl_global float *render_buffer)
20#define KERNEL_INTEGRATOR_INIT_FUNCTION(name) \
21 bool KERNEL_FUNCTION_FULL_NAME(integrator_##name)(const KernelGlobalsCPU *ccl_restrict kg, \
22 IntegratorStateCPU *state, \
23 KernelWorkTile *tile, \
24 ccl_global float *render_buffer)
41#undef KERNEL_INTEGRATOR_FUNCTION
42#undef KERNEL_INTEGRATOR_INIT_FUNCTION
43#undef KERNEL_INTEGRATOR_SHADE_FUNCTION
45#define KERNEL_FILM_CONVERT_FUNCTION(name) \
46 void KERNEL_FUNCTION_FULL_NAME(film_convert_##name)(const KernelFilmConvert *kfilm_convert, \
47 const float *buffer, \
50 const int buffer_stride, \
51 const int pixel_stride); \
52 void KERNEL_FUNCTION_FULL_NAME(film_convert_half_rgba_##name)( \
53 const KernelFilmConvert *kfilm_convert, \
54 const float *buffer, \
57 const int buffer_stride);
74#undef KERNEL_FILM_CONVERT_FUNCTION
void reset()
clear internal cached data and reset random seed
#define KERNEL_FUNCTION_FULL_NAME(name)
ccl_gpu_kernel_postfix ccl_global KernelWorkTile const int ccl_global float * render_buffer
#define KERNEL_INTEGRATOR_FUNCTION(name)
#define KERNEL_INTEGRATOR_SHADE_FUNCTION(name)
#define KERNEL_FILM_CONVERT_FUNCTION(name)
void KERNEL_FUNCTION_FULL_NAME adaptive_sampling_filter_x(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int y, int start_x, int width, int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME cryptomatte_postprocess(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int pixel_index)
void KERNEL_FUNCTION_FULL_NAME shader_eval_background(const KernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)
void KERNEL_FUNCTION_FULL_NAME shader_eval_displace(const KernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)
#define KERNEL_INTEGRATOR_INIT_FUNCTION(name)
bool KERNEL_FUNCTION_FULL_NAME adaptive_sampling_convergence_check(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int x, int y, float threshold, int reset, int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME adaptive_sampling_filter_y(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int x, int start_y, int height, int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME shader_eval_curve_shadow_transparency(const KernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)