Blender  V3.3
Macros | Functions
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_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 (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, bool 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);
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
#define KERNEL_FUNCTION_FULL_NAME(name)
ccl_global float * buffer

Definition at line 42 of file kernel_arch.h.

◆ KERNEL_INTEGRATOR_FUNCTION

#define KERNEL_INTEGRATOR_FUNCTION (   name)
Value:
void KERNEL_FUNCTION_FULL_NAME(integrator_##name)(const KernelGlobalsCPU *ccl_restrict kg, \
IntegratorStateCPU *state)
#define ccl_restrict
Definition: cuda/compat.h:50
const int state

Definition at line 10 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, \
IntegratorStateCPU *state, \
KernelWorkTile *tile, \
ccl_global float *render_buffer)
ccl_gpu_kernel_postfix ccl_global KernelWorkTile const int ccl_global float * render_buffer
ccl_global const KernelWorkTile * tile

Definition at line 19 of file kernel_arch.h.

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION

#define KERNEL_INTEGRATOR_SHADE_FUNCTION (   name)
Value:
void KERNEL_FUNCTION_FULL_NAME(integrator_##name)(const KernelGlobalsCPU *ccl_restrict kg, \
IntegratorStateCPU *state, \
ccl_global float *render_buffer)

Definition at line 14 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,
bool  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/3]

KERNEL_INTEGRATOR_FUNCTION ( intersect_shadow  )

◆ KERNEL_INTEGRATOR_FUNCTION() [2/3]

KERNEL_INTEGRATOR_FUNCTION ( intersect_subsurface  )

◆ KERNEL_INTEGRATOR_FUNCTION() [3/3]

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/7]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( intersect_closest  )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [2/7]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( megakernel  )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [3/7]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_background  )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [4/7]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_light  )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [5/7]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_shadow  )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [6/7]

KERNEL_INTEGRATOR_SHADE_FUNCTION ( shade_surface  )

◆ KERNEL_INTEGRATOR_SHADE_FUNCTION() [7/7]

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 
)