Blender V4.3
device/cpu/kernel.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#include "device/cpu/kernel.h"
6
8
10
11#define KERNEL_FUNCTIONS(name) \
12 KERNEL_NAME_EVAL(cpu, name), KERNEL_NAME_EVAL(cpu_sse42, name), KERNEL_NAME_EVAL(cpu_avx2, name)
13
14#define REGISTER_KERNEL(name) name(KERNEL_FUNCTIONS(name))
15#define REGISTER_KERNEL_FILM_CONVERT(name) \
16 film_convert_##name(KERNEL_FUNCTIONS(film_convert_##name)), \
17 film_convert_half_rgba_##name(KERNEL_FUNCTIONS(film_convert_half_rgba_##name))
18
20 : /* Integrator. */
35 /* Shader evaluation. */
39 /* Adaptive sampling. */
43 /* Cryptomatte. */
45 /* Film Convert. */
48 REGISTER_KERNEL_FILM_CONVERT(sample_count),
54 REGISTER_KERNEL_FILM_CONVERT(shadow_catcher),
55 REGISTER_KERNEL_FILM_CONVERT(shadow_catcher_matte_with_shadow),
58{
59}
60
61#undef REGISTER_KERNEL
62#undef REGISTER_KERNEL_FILM_CONVERT
63#undef KERNEL_FUNCTIONS
64
AdaptiveSamplingConvergenceCheckFunction adaptive_sampling_convergence_check
IntegratorFunction integrator_intersect_subsurface
ShaderEvalFunction shader_eval_background
IntegratorShadeFunction integrator_shade_dedicated_light
CryptomattePostprocessFunction cryptomatte_postprocess
IntegratorShadeFunction integrator_shade_shadow
IntegratorShadeFunction integrator_shade_surface
IntegratorShadeFunction integrator_intersect_closest
IntegratorFunction integrator_intersect_shadow
ShaderEvalFunction shader_eval_displace
IntegratorFunction integrator_intersect_volume_stack
ShaderEvalFunction shader_eval_curve_shadow_transparency
IntegratorFunction integrator_intersect_dedicated_light
IntegratorShadeFunction integrator_shade_background
IntegratorShadeFunction integrator_megakernel
AdaptiveSamplingFilterYFunction adaptive_sampling_filter_y
IntegratorShadeFunction integrator_shade_volume
IntegratorShadeFunction integrator_shade_light
IntegratorInitFunction integrator_init_from_bake
AdaptiveSamplingFilterXFunction adaptive_sampling_filter_x
IntegratorInitFunction integrator_init_from_camera
#define REGISTER_KERNEL_FILM_CONVERT(name)
#define REGISTER_KERNEL(name)
#define CCL_NAMESPACE_END
draw_view in_light_buf[] float
VecBase< float, 4 > float4