11#define KERNEL_INTEGRATOR_FUNCTION(name) \
12 void KERNEL_FUNCTION_FULL_NAME(integrator_##name)( \
13 const ThreadKernelGlobalsCPU *ccl_restrict kg, IntegratorStateCPU *state)
15#define KERNEL_INTEGRATOR_SHADE_FUNCTION(name) \
16 void KERNEL_FUNCTION_FULL_NAME(integrator_##name)( \
17 const ThreadKernelGlobalsCPU *ccl_restrict kg, \
18 IntegratorStateCPU *state, \
19 ccl_global float *render_buffer)
21#define KERNEL_INTEGRATOR_INIT_FUNCTION(name) \
22 bool KERNEL_FUNCTION_FULL_NAME(integrator_##name)( \
23 const ThreadKernelGlobalsCPU *ccl_restrict kg, \
24 IntegratorStateCPU *state, \
25 KernelWorkTile *tile, \
26 ccl_global float *render_buffer)
32#undef KERNEL_INTEGRATOR_FUNCTION
33#undef KERNEL_INTEGRATOR_INIT_FUNCTION
34#undef KERNEL_INTEGRATOR_SHADE_FUNCTION
36#define KERNEL_FILM_CONVERT_FUNCTION(name) \
37 void KERNEL_FUNCTION_FULL_NAME(film_convert_##name)(const KernelFilmConvert *kfilm_convert, \
38 const float *buffer, \
41 const int buffer_stride, \
42 const int pixel_stride); \
43 void KERNEL_FUNCTION_FULL_NAME(film_convert_half_rgba_##name)( \
44 const KernelFilmConvert *kfilm_convert, \
45 const float *buffer, \
48 const int buffer_stride);
67#undef KERNEL_FILM_CONVERT_FUNCTION
100 const float threshold,
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_SHADE_FUNCTION(name)
void KERNEL_FUNCTION_FULL_NAME volume_guiding_filter_x(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int y, const int center_x, const int min_x, const int max_x, const int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME volume_guiding_filter_y(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int x, const int center_y, const int height, const int offset, int stride)
#define KERNEL_FILM_CONVERT_FUNCTION(name)
void KERNEL_FUNCTION_FULL_NAME shader_eval_background(const ThreadKernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)
bool KERNEL_FUNCTION_FULL_NAME adaptive_sampling_convergence_check(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int x, const int y, const float threshold, const int reset, const int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME cryptomatte_postprocess(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, int pixel_index)
#define KERNEL_INTEGRATOR_INIT_FUNCTION(name)
void KERNEL_FUNCTION_FULL_NAME shader_eval_displace(const ThreadKernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)
void KERNEL_FUNCTION_FULL_NAME adaptive_sampling_filter_x(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int y, const int start_x, const int width, const int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME adaptive_sampling_filter_y(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int x, const int start_y, const int height, const int offset, int stride)
void KERNEL_FUNCTION_FULL_NAME shader_eval_curve_shadow_transparency(const ThreadKernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)
void KERNEL_FUNCTION_FULL_NAME shader_eval_volume_density(const ThreadKernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)