Blender V4.3
kernel_arch.h File Reference

Go to the source code of this file.

Macros

#define KERNEL_INTEGRATOR_FUNCTION(name)
 
#define KERNEL_INTEGRATOR_SHADE_FUNCTION(name)
 
#define KERNEL_INTEGRATOR_INIT_FUNCTION(name)
 
#define KERNEL_FILM_CONVERT_FUNCTION(name)
 

Functions

 KERNEL_INTEGRATOR_INIT_FUNCTION (init_from_camera)
 
 KERNEL_INTEGRATOR_INIT_FUNCTION (init_from_bake)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (intersect_closest)
 
 KERNEL_INTEGRATOR_FUNCTION (intersect_shadow)
 
 KERNEL_INTEGRATOR_FUNCTION (intersect_subsurface)
 
 KERNEL_INTEGRATOR_FUNCTION (intersect_volume_stack)
 
 KERNEL_INTEGRATOR_FUNCTION (intersect_dedicated_light)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (shade_background)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (shade_light)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (shade_shadow)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (shade_surface)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (shade_volume)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (shade_dedicated_light)
 
 KERNEL_INTEGRATOR_SHADE_FUNCTION (megakernel)
 
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)
 
void KERNEL_FUNCTION_FULL_NAME shader_eval_curve_shadow_transparency (const KernelGlobalsCPU *kg, const KernelShaderEvalInput *input, float *output, const int offset)
 
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_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 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 cryptomatte_postprocess (const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int pixel_index)
 

Macro Definition Documentation

◆ KERNEL_FILM_CONVERT_FUNCTION

#define KERNEL_FILM_CONVERT_FUNCTION ( name)
Value:
void KERNEL_FUNCTION_FULL_NAME(film_convert_##name)(const KernelFilmConvert *kfilm_convert, \
const float *buffer, \
float *pixel, \
const int width, \
const int buffer_stride, \
const int pixel_stride); \
void KERNEL_FUNCTION_FULL_NAME(film_convert_half_rgba_##name)( \
const KernelFilmConvert *kfilm_convert, \
const float *buffer, \
half4 *pixel, \
const int width, \
const int buffer_stride);
#define KERNEL_FUNCTION_FULL_NAME(name)
Definition half.h:61

Definition at line 45 of file kernel_arch.h.

◆ KERNEL_INTEGRATOR_FUNCTION

#define KERNEL_INTEGRATOR_FUNCTION ( name)
Value:

Definition at line 11 of file kernel_arch.h.

◆ KERNEL_INTEGRATOR_INIT_FUNCTION

#define KERNEL_INTEGRATOR_INIT_FUNCTION ( name)
Value:
bool KERNEL_FUNCTION_FULL_NAME(integrator_##name)(const KernelGlobalsCPU *ccl_restrict kg, \
#define ccl_global
ccl_global const KernelWorkTile * tile
ccl_gpu_kernel_postfix ccl_global KernelWorkTile const int ccl_global float * render_buffer

Definition at line 20 of file kernel_arch.h.

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION

#define KERNEL_INTEGRATOR_SHADE_FUNCTION ( name)
Value:

Definition at line 15 of file kernel_arch.h.

Function Documentation

◆ adaptive_sampling_convergence_check()

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 )

◆ adaptive_sampling_filter_x()

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 )

◆ adaptive_sampling_filter_y()

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 )

◆ cryptomatte_postprocess()

void KERNEL_FUNCTION_FULL_NAME cryptomatte_postprocess ( const KernelGlobalsCPU * kg,
ccl_global float * render_buffer,
int pixel_index )

◆ KERNEL_INTEGRATOR_FUNCTION() [1/4]

KERNEL_INTEGRATOR_FUNCTION ( intersect_dedicated_light )

◆ KERNEL_INTEGRATOR_FUNCTION() [2/4]

KERNEL_INTEGRATOR_FUNCTION ( intersect_shadow )

◆ KERNEL_INTEGRATOR_FUNCTION() [3/4]

KERNEL_INTEGRATOR_FUNCTION ( intersect_subsurface )

◆ KERNEL_INTEGRATOR_FUNCTION() [4/4]

KERNEL_INTEGRATOR_FUNCTION ( intersect_volume_stack )

◆ KERNEL_INTEGRATOR_INIT_FUNCTION() [1/2]

KERNEL_INTEGRATOR_INIT_FUNCTION ( init_from_bake )

◆ KERNEL_INTEGRATOR_INIT_FUNCTION() [2/2]

KERNEL_INTEGRATOR_INIT_FUNCTION ( init_from_camera )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [1/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( intersect_closest )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [2/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( megakernel )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [3/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_background )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [4/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_dedicated_light )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [5/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_light )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [6/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_shadow )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [7/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_surface )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [8/8]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_volume )

◆ shader_eval_background()

void KERNEL_FUNCTION_FULL_NAME shader_eval_background ( const KernelGlobalsCPU * kg,
const KernelShaderEvalInput * input,
float * output,
const int offset )

◆ shader_eval_curve_shadow_transparency()

void KERNEL_FUNCTION_FULL_NAME shader_eval_curve_shadow_transparency ( const KernelGlobalsCPU * kg,
const KernelShaderEvalInput * input,
float * output,
const int offset )

◆ shader_eval_displace()

void KERNEL_FUNCTION_FULL_NAME shader_eval_displace ( const KernelGlobalsCPU * kg,
const KernelShaderEvalInput * input,
float * output,
const int offset )

Definition at line 120 of file kernel_arch_impl.h.

References KERNEL_ARCH, kernel_displace_evaluate(), and shader_eval_displace().

Referenced by shader_eval_displace().