Blender V4.3
compositor_parallel_reduction_info.hh File Reference

Go to the source code of this file.

Functions

local_group_size(16, 16) .push_constant(Type additional_info ("compositor_parallel_reduction_shared") .define("REDUCE(lhs
 
 additional_info ("compositor_sum_shared") .image(0
 
output_img define ("TYPE", "float") .define("IDENTITY"
 
output_img define ("LOAD(value)", "value.x")
 
 additional_info ("compositor_sum_float_shared") .define("INITIALIZE(value)"
 
value r do_static_compilation (true)
 
additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type output_img define ("TYPE", "vec4") .define("IDENTITY"
 
additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type output_img vec4 (0.0)") .define("INITIALIZE(value)"
 
additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type output_img value define ("LOAD(value)", "value") .do_static_compilation(true)
 
output_img push_constant (Type::FLOAT, "subtrahend") .define("TYPE"
 
output_img float define ("IDENTITY", "0.0") .define("LOAD(value)"
 
output_img float value x define ("REDUCE(lhs, rhs)", "lhs + rhs")
 
 additional_info ("compositor_sum_squared_difference_float_shared") .define("INITIALIZE(value)"
 
 pow (value.r - subtrahend, 2.0)") .do_static_compilation(true)
 
 pow (value.g - subtrahend, 2.0)") .do_static_compilation(true)
 
 pow (value.b - subtrahend, 2.0)") .do_static_compilation(true)
 
additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img push_constant (Type::VEC3, "luminance_coefficients") .define("TYPE"
 
additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img float define ("IDENTITY", "FLT_MIN") .define("INITIALIZE(value)"
 
additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img float dot (value.rgb, luminance_coefficients)") .define("LOAD(value)"
 
additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img float value x define ("REDUCE(lhs, rhs)", "max(lhs, rhs)") .do_static_compilation(true)
 
output_img FLT_MIN define ("INITIALIZE(value)", "value.x") .define("LOAD(value)"
 
output_img FLT_MIN value x define ("REDUCE(lhs, rhs)", "max(rhs, lhs)") .do_static_compilation(true)
 
output_img push_constant(Type::FLOAT, "lower_bound") .push_constant(Type output_img float define ("IDENTITY", "FLT_MAX") .define("INITIALIZE(value)"
 
output_img push_constant(Type::FLOAT, "lower_bound") .push_constant(Type output_img float value x define ("REDUCE(lhs, rhs)", "min(lhs, rhs)") .do_static_compilation(true)
 
output_img FLT_MAX value x define ("REDUCE(lhs, rhs)", "min(rhs, lhs)") .do_static_compilation(true)
 

Variables

local_group_size(16, 16) .push_constant(Type rhs
 
 GPU_R32F
 
additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type GPU_RGBA32F
 

Function Documentation

◆ additional_info() [1/4]

additional_info ( "compositor_parallel_reduction_shared" )

◆ additional_info() [2/4]

additional_info ( "compositor_sum_float_shared" )

◆ additional_info() [3/4]

additional_info ( "compositor_sum_shared" )

◆ additional_info() [4/4]

additional_info ( "compositor_sum_squared_difference_float_shared" )

◆ define() [1/13]

output_img float define ( "IDENTITY" ,
"0.0"  )

◆ define() [2/13]

output_img push_constant(Type::FLOAT, "lower_bound") .push_constant(Type output_img float define ( "IDENTITY" ,
"FLT_MAX"  )

◆ define() [3/13]

additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img float define ( "IDENTITY" ,
"FLT_MIN"  )

◆ define() [4/13]

output_img FLT_MAX define ( "INITIALIZE(value)" ,
"value.x"  )

◆ define() [5/13]

additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type output_img value define ( "LOAD(value)" ,
"value"  )

◆ define() [6/13]

output_img define ( "LOAD(value)" ,
"value.x"  )

◆ define() [7/13]

output_img float value x define ( "REDUCE(lhs, rhs)" ,
"lhs + rhs"  )

◆ define() [8/13]

additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img float value x define ( "REDUCE(lhs, rhs)" ,
"max(lhs, rhs)"  )

◆ define() [9/13]

output_img FLT_MIN value x define ( "REDUCE(lhs, rhs)" ,
"max(rhs, lhs)"  )

◆ define() [10/13]

output_img push_constant(Type::FLOAT, "lower_bound") .push_constant(Type output_img float value x define ( "REDUCE(lhs, rhs)" ,
"min(lhs, rhs)"  )

◆ define() [11/13]

output_img FLT_MAX value x define ( "REDUCE(lhs, rhs)" ,
"min(rhs, lhs)"  )

◆ define() [12/13]

output_img define ( "TYPE" ,
"float"  )

◆ define() [13/13]

additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type output_img define ( "TYPE" ,
"vec4"  )

◆ do_static_compilation()

value r do_static_compilation ( true )

Colors, weights, and Circle of confusion radii for the 4 pixels to scatter. Scaling factor for the bokeh distance. Sprite pixel position with origin at sprite center. In pixels.

◆ dot()

additional_info("compositor_sum_squared_difference_float_shared") .push_constant(Type output_img float dot ( value. rgb,
luminance_coefficients  )

Referenced by btPerturbedContactResult::addContactPoint(), btDeformableMassSpringForce::addScaledDampingForceDifferential(), Hair::apply_transform(), PointCloud::apply_transform(), area_light_intersect(), area_light_rect_sample(), area_light_sample(), area_light_spread_clamp_light(), area_light_tree_parameters(), atmosphere_intersection(), attr_create_pointiness(), background_portal_data_fetch_and_check_side(), bake_offset_towards_center(), bezier_handle_calc_length_v3(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_object_empty_image_data_is_visible_in_view3d(), blender_camera_focal_distance(), bm_vert_pair_best_face_get(), bm_vert_pair_share_best_splittable_face_cb(), BM_vert_pair_share_face_by_angle(), bsdf_ashikhmin_shirley_eval(), bsdf_ashikhmin_shirley_sample(), bsdf_ashikhmin_velvet_eval(), bsdf_ashikhmin_velvet_sample(), bsdf_diffuse_eval(), bsdf_diffuse_sample(), bsdf_diffuse_toon_eval(), bsdf_diffuse_toon_sample(), bsdf_eval(), bsdf_eval_accum(), bsdf_eval_init(), bsdf_glossy_toon_eval(), bsdf_glossy_toon_sample(), bsdf_hair_chiang_albedo(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), bsdf_hair_huang_albedo(), bsdf_hair_huang_eval(), bsdf_hair_huang_eval_r(), bsdf_hair_huang_eval_residual(), bsdf_hair_huang_sample(), bsdf_hair_reflection_eval(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval(), bsdf_hair_transmission_sample(), bsdf_is_transmission(), bsdf_microfacet_estimate_albedo(), bsdf_microfacet_eval(), bsdf_microfacet_sample(), bsdf_oren_nayar_eval(), bsdf_oren_nayar_get_intensity(), bsdf_oren_nayar_sample(), bsdf_oren_nayar_setup(), bsdf_sample(), bsdf_sheen_eval(), bsdf_sheen_sample(), bsdf_sheen_setup(), bsdf_translucent_eval(), bsdf_translucent_sample(), btDiscoverPortal(), btDoSimplex2(), btDoSimplex3(), btExpandPortal(), btMprVec3Dot(), btNearestPointInLineSegment(), btVec3Dot(), btPrimitiveTriangle::buildTriPlane(), btTriangleShapeEx::buildTriPlane(), bump_shadowing_term(), calc_edge_mat(), camera_distance(), closestPtPointTetrahedron(), collision_response(), compatible_faceforward(), compute_2d_gabor_kernel(), compute_2d_gabor_noise_cell(), compute_3d_gabor_kernel(), compute_3d_gabor_noise_cell(), compute_v(), btMultiBodyFixedConstraint::createConstraintRows(), btMultiBodySliderConstraint::createConstraintRows(), deflect_emitter_iter(), differential_transfer(), direction_to_fisheye_lens_polynomial(), distant_light_uv(), dot(), dot(), dynamic_paint_paint_mesh_cell_point_cb_ex(), emissive_pdf(), ensure_valid_specular_reflection(), btSoftBodyHelpers::extrapolateBarycentricWeights(), FindIncidentEdge(), fisheye_lens_polynomial_to_direction(), get_limit_motor_info2(), btSoftBodyHelpers::getBarycentricWeights(), getBernsteinCoeff(), btGjkPairDetector::getClosestPointsNonVirtual(), integrate_surface_direct_light(), integrator_init_from_bake(), LocalSupportVertexCallback::internalProcessTriangleIndex(), interpolate_fresnel_color(), isect_line_plane_v3(), isect_ray_plane_v3_factor(), kernel_embree_filter_func_backface_cull(), kernel_embree_filter_occluded_func_backface_cull(), light_pdf_area_to_solid_angle(), light_tree_emitter_importance(), light_tree_importance(), light_tree_node_importance(), line_plane_factor_v3(), line_point_factor_v2_ex(), line_point_factor_v3_ex(), linear_rgb_to_gray(), ShaderManager::linear_rgb_to_gray(), make_transform_frame(), map_to_sphere(), maxDot(), mean_value_half_tan_v2_db(), mean_value_half_tan_v3(), merge(), microfacet_ggx_preserve_energy(), microfacet_visible(), minDot(), mirrorball_to_direction(), operator*(), operator*(), operator*(), pdf_cos_hemisphere(), point_light_sample(), pointOutsideOfPlane(), portalCanEncapsuleOrigin(), portalEncapsulesOrigin(), SupportVertexCallback::processTriangle(), project(), quat_interpolate(), ray_aligned_disk_intersect(), ray_cone_intersect(), ray_disk_intersect(), ray_infinite_cylinder_intersect(), ray_plane_intersect(), ray_point_factor_v3_ex(), ray_quad_intersect(), ray_sphere_intersect(), ray_triangle_intersect(), rec709_to_rgb(), ShaderManager::rec709_to_scene_linear(), refract_angle(), sample_wh(), SEQ_sequence_base_unique_name_recursive(), setupFrictionConstraint(), setupMultiBodyContactConstraint(), shader_setup_from_ray(), shader_setup_from_sample(), shadow_ray_offset(), shadow_ray_smooth_surface_offset(), btConvexHullInternal::shrink(), single_scattering(), solveConstraintObsolete(), btTranslationalLimitMotor::solveLinearAxis(), spot_light_intersect(), spot_light_sample(), spot_light_tree_parameters(), surface_intersection(), svm_node_closure_bsdf(), svm_node_fresnel(), svm_node_layer_weight(), svm_node_normal(), svm_node_set_bump(), svm_node_tex_coord(), svm_node_tex_coord_bump_dx(), svm_node_tex_coord_bump_dy(), svm_vector_math(), tan_angle(), btModifiedGramSchmidt< TV >::test(), timesTranspose(), transform_compose(), transform_decompose(), transform_direction_transposed(), transform_inverse_dot(), transform_motion_decompose(), transform_negative_scale(), transform_perspective(), triangle_light_pdf(), triangle_light_pdf_area_sampling(), triangle_light_sample(), triangle_light_tree_parameters(), volume_draine_eval(), volume_fournier_forand_eval(), volume_henyey_greenstein_eval(), volume_rayleigh_eval(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), wireframe(), Camera::world_to_raster_size(), and xyz_to_rgb().

◆ pow() [1/3]

pow ( value.b - subtrahend,
2. 0 )

◆ pow() [2/3]

pow ( value.g - subtrahend,
2. 0 )

◆ pow() [3/3]

pow ( value.r - subtrahend,
2. 0 )

Referenced by _final_goal(), ArHosekSkyModel_CookConfiguration(), ArHosekSkyModel_CookRadianceConfiguration(), ArHosekSkyModel_GetRadianceInternal(), BKE_scene_unit_scale(), brush_add(), brush_comb(), brush_cut(), brush_puff(), calc_cb_lgg(), color_scene_linear_to_srgb(), color_srgb_to_scene_linear(), slim::compute_energy_with_jacobians(), slim::compute_transformation_matrix2_pins(), Freestyle::Grid::configure(), density_falloff(), distribute_children_exec(), do_clump_level(), do_kink(), do_physical_effector(), do_rough_end(), double_round(), DRW_evaluate_weight_to_color(), dynamicPaint_doWaveStep(), edbm_average_normals_exec(), falloff_func(), find_even_superellipse_chords_general(), find_superellipse_chord_endpoint(), blender::compositor::GlareStreaksOperation::generate_glare(), BCMatrix::get_matrix(), BCMatrix::get_matrix(), slim::get_smallest_pos_quad_zero(), Freestyle::Functions0D::GetViewMapGradientNormF0D::GetViewMapGradientNormF0D(), blender::ed::seq::init_wave_table(), palette_extract_img_exec(), power_of_2(), psys_cache_paths(), blender::io::usd::USDLightReader::read_object_data(), rect_bevel_side(), s_curve(), sabin_gamma(), seq_retiming_evaluate_arc_segment(), soft_range_round_down(), soft_range_round_up(), libmv::SolveCubicPolynomial(), superellipse_co(), surfaceGenerateGrid(), time_human_readable_to_seconds(), libmv::PyramidRegionTracker::Track(), UI_calc_float_precision(), blender::compositor::DirectionalBlurOperation::update_memory_buffer_partial(), blender::compositor::KuwaharaAnisotropicOperation::update_memory_buffer_partial(), blender::compositor::MathPowerOperation::update_memory_buffer_partial(), blender::compositor::ExposureOperation::update_memory_buffer_row(), slim::update_weights_and_closest_rotations(), valuefn(), view2d_major_step_x__time(), volume_preservation(), volume_preservation(), voronoi_distance(), voronoi_distance(), voronoi_distance(), and blender::io::hydra::HairData::write_curves().

◆ push_constant() [1/2]

◆ push_constant() [2/2]

output_img push_constant ( Type::VEC3 ,
"luminance_coefficients"  )

◆ vec4()

additional_info("compositor_sum_float_shared") .push_constant(Type additional_info("compositor_sum_float_shared") .push_constant(Type output_img vec4 ( 0. 0)

Variable Documentation

◆ GPU_R32F

◆ GPU_RGBA32F

incomplete_y_prologues_tx GPU_RGBA32F

Definition at line 57 of file compositor_parallel_reduction_info.hh.

Referenced by blender::eevee::RenderBuffers::acquire(), blender::render::hydra::GPURenderTaskDelegate::add_aov(), drw_texture_format_supports_framebuffer(), gpu_material_sky_texture_build(), gpu_texture_create_tile_mapping(), blender::realtime_compositor::Result::gpu_texture_format(), blender::realtime_compositor::Result::gpu_texture_format(), GPU_texture_format_name(), blender::gpu::gpu_texture_format_to_metal(), imb_gpu_get_format(), blender::eevee::Film::init(), blender::eevee::LookdevModule::init(), blender::gpu::VKTexture::init_internal(), blender::realtime_compositor::Result::precision(), blender::eevee::Precompute::Precompute(), RE_pass_ensure_gpu_texture_cache(), blender::eevee::IrradianceBake::surfels_create(), blender::eevee::WorldPipeline::sync(), blender::gpu::tests::TEST(), blender::gpu::tests::test_compute_direct(), blender::gpu::tests::test_compute_indirect(), blender::draw::test_draw_resource_id_gen(), blender::draw::test_draw_visibility(), blender::gpu::tests::test_framebuffer_clear_color_multiple_attachments(), blender::gpu::tests::test_framebuffer_clear_color_single_attachment(), blender::gpu::tests::test_framebuffer_clear_multiple_color_multiple_attachments(), blender::gpu::tests::test_framebuffer_cube(), blender::gpu::tests::test_framebuffer_scissor_test(), blender::gpu::tests::test_shader_compute_1d(), blender::gpu::tests::test_shader_compute_2d(), blender::gpu::tests::test_texture_1d(), blender::gpu::tests::test_texture_1d_array(), blender::gpu::tests::test_texture_1d_array_upload(), blender::gpu::tests::test_texture_2d_array(), blender::gpu::tests::test_texture_2d_array_upload(), blender::gpu::tests::test_texture_3d(), blender::gpu::tests::test_texture_copy(), blender::gpu::tests::test_texture_cube(), blender::gpu::tests::test_texture_cube_array(), blender::gpu::tests::test_texture_read(), blender::gpu::to_bytesize(), blender::gpu::to_component_len(), blender::gpu::to_data_format(), blender::gpu::to_format_flag(), blender::gpu::to_framebuffer_bits(), blender::gpu::to_gl_data_format(), blender::gpu::to_gl_internal_format(), blender::gpu::to_gpu_format(), blender::gpu::to_string(), to_string(), blender::gpu::to_texture_format(), blender::gpu::to_vk_format(), blender::gpu::to_vk_image_aspect_flag_bits(), blender::realtime_compositor::Result::type(), blender::gpu::type_of_conversion_float(), blender::gpu::type_of_conversion_half(), blender::gpu::type_of_conversion_int(), blender::gpu::type_of_conversion_ubyte(), blender::gpu::type_of_conversion_uint(), blender::gpu::validate_data_format(), and blender::render::hydra::DrawTexture::write_data().

◆ rhs

local_group_size(16, 16) .push_constant(Type lhs rhs

Definition at line 19 of file compositor_parallel_reduction_info.hh.

Referenced by BLI_session_uid_ghash_compare(), BLI_session_uid_is_equal(), btDeformableBackwardEulerObjective::calculateContactForce(), Eigen::internal::constrained_conjugate_gradient(), btMultiBodyJointMotor::createConstraintRows(), btMLCPSolver::createMLCPFast(), btMultiBodyMLCPConstraintSolver::createMLCPFastMultiBody(), btMultiBodyMLCPConstraintSolver::createMLCPFastRigidBody(), dot(), dot(), dot(), dot(), dot(), dot(), dot(), dot(), dot(), EIG_linear_solver_print_matrix(), EIG_linear_solver_right_hand_side_add(), EIG_linear_solver_solve(), EIG_linear_solver_variable_get(), EIG_linear_solver_variable_set(), Eigen::internal::solve_retval< ConstrainedConjugateGradient< _MatrixType, _UpLo, _Filter, _Preconditioner >, Rhs >::evalTo(), getInfo2InternalUsingFrameOffset(), getInfo2NonVirtual(), meshdeform_matrix_add_rhs(), meshdeform_matrix_add_semibound_phi(), blender::asset_system::AssetCatalogLessThan::operator()(), blender::gpu::CompareMTLBuffer::operator()(), btPersistentManifoldSortPredicate::operator()(), btPersistentManifoldSortPredicateDeterministic::operator()(), btSortConstraintOnIslandPredicate2::operator()(), btSortConstraintOnIslandPredicate::operator()(), btSortMultiBodyConstraintOnIslandPredicate::operator()(), btUnionFindElementSortPredicate::operator()(), IslandBatchSizeSortPredicate::operator()(), IslandBodyCapacitySortPredicate::operator()(), KDL::operator*(), KDL::operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), KDL::Rall1d< T, V, S >::operator*=(), KDL::Rall1d< T, V, S >::operator*=(), KDL::Rall2d< T, V, S >::operator*=(), KDL::Rall2d< T, V, S >::operator*=(), RetimingRangeData::operator*=(), KDL::operator+(), KDL::operator+(), operator+(), operator+(), operator+(), operator+(), operator+(), operator+(), KDL::Rall1d< T, V, S >::operator+=(), KDL::Rall1d< T, V, S >::operator+=(), KDL::Rall2d< T, V, S >::operator+=(), KDL::Rall2d< T, V, S >::operator+=(), KDL::operator-(), KDL::operator-(), operator-(), operator-(), operator-(), operator-(), operator-(), operator-(), KDL::Rall1d< T, V, S >::operator-=(), KDL::Rall1d< T, V, S >::operator-=(), KDL::Rall2d< T, V, S >::operator-=(), KDL::Rall2d< T, V, S >::operator-=(), KDL::operator/(), KDL::operator/(), KDL::operator/(), operator/(), operator/(), operator/(), operator/(), operator/(), operator/(), operator/(), operator/(), KDL::Rall1d< T, V, S >::operator/=(), KDL::Rall1d< T, V, S >::operator/=(), KDL::Rall2d< T, V, S >::operator/=(), KDL::Rall2d< T, V, S >::operator/=(), operator<(), lVector3f::operator=(), GPUSamplerState::operator==(), btDeformableBodySolver::solveDeformableConstraints(), and WM_prop_pystring_assign().