Blender V4.3
parallel_reduction.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::realtime_compositor
 

Functions

static floatblender::realtime_compositor::parallel_reduction_dispatch (Context &context, GPUTexture *texture, GPUShader *shader, eGPUTextureFormat format)
 
float blender::realtime_compositor::sum_red (Context &context, GPUTexture *texture)
 
float blender::realtime_compositor::sum_green (Context &context, GPUTexture *texture)
 
float blender::realtime_compositor::sum_blue (Context &context, GPUTexture *texture)
 
float blender::realtime_compositor::sum_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients)
 
float blender::realtime_compositor::sum_log_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients)
 
float4 blender::realtime_compositor::sum_color (Context &context, GPUTexture *texture)
 
float blender::realtime_compositor::sum_red_squared_difference (Context &context, GPUTexture *texture, float subtrahend)
 
float blender::realtime_compositor::sum_green_squared_difference (Context &context, GPUTexture *texture, float subtrahend)
 
float blender::realtime_compositor::sum_blue_squared_difference (Context &context, GPUTexture *texture, float subtrahend)
 
float blender::realtime_compositor::sum_luminance_squared_difference (Context &context, GPUTexture *texture, float3 luminance_coefficients, float subtrahend)
 
float blender::realtime_compositor::maximum_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients)
 
float blender::realtime_compositor::maximum_float (Context &context, GPUTexture *texture)
 
float blender::realtime_compositor::maximum_float_in_range (Context &context, GPUTexture *texture, float lower_bound, float upper_bound)
 
float blender::realtime_compositor::minimum_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients)
 
float blender::realtime_compositor::minimum_float (Context &context, GPUTexture *texture)
 
float blender::realtime_compositor::minimum_float_in_range (Context &context, GPUTexture *texture, float lower_bound, float upper_bound)