Blender V4.3
math_float4.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline float4 zero_float4 ()
ccl_device_inline float4 one_float4 ()
ccl_device_inline int4 cast (const float4 a)
ccl_device_inline float4 operator- (const float4 &a)
ccl_device_inline float4 operator* (const float4 a, const float4 b)
ccl_device_inline float4 operator* (const float4 a, float f)
ccl_device_inline float4 operator* (float f, const float4 a)
ccl_device_inline float4 operator/ (const float4 a, float f)
ccl_device_inline float4 operator/ (const float4 a, const float4 b)
ccl_device_inline float4 operator+ (const float4 a, const float4 b)
ccl_device_inline float4 operator+ (const float4 a, const float f)
ccl_device_inline float4 operator- (const float4 a, const float4 b)
ccl_device_inline float4 operator- (const float4 a, const float f)
ccl_device_inline float4 operator+= (float4 &a, const float4 b)
ccl_device_inline float4 operator-= (float4 &a, const float4 b)
ccl_device_inline float4 operator*= (float4 &a, const float4 b)
ccl_device_inline float4 operator*= (float4 &a, float f)
ccl_device_inline float4 operator/= (float4 &a, const float4 b)
ccl_device_inline float4 operator/= (float4 &a, float f)
ccl_device_inline int4 operator< (const float4 a, const float4 b)
ccl_device_inline int4 operator>= (const float4 a, const float4 b)
ccl_device_inline int4 operator<= (const float4 a, const float4 b)
ccl_device_inline bool operator== (const float4 a, const float4 b)
ccl_device_inline const float4 operator^ (const float4 a, const float4 b)
ccl_device_inline float4 min (const float4 a, const float4 b)
ccl_device_inline float4 max (const float4 a, const float4 b)
ccl_device_inline float4 clamp (const float4 a, const float4 mn, const float4 mx)
ccl_device_inline const float4 madd (const float4 a, const float4 b, const float4 c)
ccl_device_inline float4 msub (const float4 a, const float4 b, const float4 c)
ccl_device_inline float reduce_add (const float4 a)
ccl_device_inline float reduce_min (const float4 a)
ccl_device_inline float reduce_max (const float4 a)
ccl_device_inline float dot (const float4 a, const float4 b)
ccl_device_inline float len (const float4 a)
ccl_device_inline float len_squared (const float4 a)
ccl_device_inline float4 sqr (const float4 a)
ccl_device_inline float distance (const float4 a, const float4 b)
ccl_device_inline float4 rcp (const float4 a)
ccl_device_inline float4 sqrt (const float4 a)
ccl_device_inline float4 cross (const float4 a, const float4 b)
ccl_device_inline bool is_zero (const float4 a)
ccl_device_inline float average (const float4 a)
ccl_device_inline float4 normalize (const float4 a)
ccl_device_inline float4 safe_normalize (const float4 a)
ccl_device_inline float4 fabs (const float4 a)
ccl_device_inline float4 fmod (const float4 a, const float b)
ccl_device_inline float4 floor (const float4 a)
ccl_device_inline float4 floorfrac (const float4 x, ccl_private int4 *i)
ccl_device_inline float4 mix (const float4 a, const float4 b, float t)
ccl_device_inline float4 mix (const float4 a, const float4 b, const float4 t)
ccl_device_inline float4 saturate (const float4 a)
ccl_device_inline float4 exp (float4 v)
ccl_device_inline float4 log (float4 v)
ccl_device_inline bool isequal (const float4 a, const float4 b)
ccl_device_inline float4 select (const int4 mask, const float4 a, const float4 b)
ccl_device_inline float4 mask (const int4 mask, const float4 a)
ccl_device_inline float4 load_float4 (ccl_private const float *v)
ccl_device_inline float4 safe_divide (const float4 a, const float b)
ccl_device_inline float4 safe_divide (const float4 a, const float4 b)
ccl_device_inline bool isfinite_safe (float4 v)
ccl_device_inline float4 ensure_finite (float4 v)
ccl_device_inline float4 power (float4 v, float e)

Function Documentation

◆ average()

ccl_device_inline float average ( const float4 a)

Definition at line 444 of file math_float4.h.

References ccl_device_inline, and reduce_add().

◆ cast()

◆ clamp()

ccl_device_inline float4 clamp ( const float4 a,
const float4 mn,
const float4 mx )

Definition at line 211 of file math_float4.h.

References ccl_device_inline, max, and min.

◆ cross()

ccl_device_inline float4 cross ( const float4 a,
const float4 b )

Definition at line 425 of file math_float4.h.

References b, ccl_device_inline, and make_float4().

◆ distance()

ccl_device_inline float distance ( const float4 a,
const float4 b )

Definition at line 401 of file math_float4.h.

References b, ccl_device_inline, and len.

◆ dot()

ccl_device_inline float dot ( const float4 a,
const float4 b )

Definition at line 370 of file math_float4.h.

References b, and ccl_device_inline.

Referenced by len(), and len_squared().

◆ ensure_finite()

ccl_device_inline float4 ensure_finite ( float4 v)

Definition at line 594 of file math_float4.h.

References ccl_device_inline, isfinite_safe(), and v.

◆ exp()

Definition at line 522 of file math_float4.h.

References ccl_device_inline, expf, make_float4(), and v.

◆ fabs()

ccl_device_inline float4 fabs ( const float4 a)

Definition at line 460 of file math_float4.h.

References ccl_device_inline, fabsf, and make_float4().

◆ floor()

ccl_device_inline float4 floor ( const float4 a)

Definition at line 478 of file math_float4.h.

References ccl_device_inline, floorf, and make_float4().

Referenced by floorfrac().

◆ floorfrac()

ccl_device_inline float4 floorfrac ( const float4 x,
ccl_private int4 * i )

Definition at line 491 of file math_float4.h.

References ccl_device_inline, ccl_private, floor(), floorfrac(), and x.

Referenced by floorfrac().

◆ fmod()

ccl_device_inline float4 fmod ( const float4 a,
const float b )

Definition at line 473 of file math_float4.h.

References b, ccl_device_inline, fmodf, and make_float4().

◆ is_zero()

ccl_device_inline bool is_zero ( const float4 a)

Definition at line 435 of file math_float4.h.

References ccl_device_inline, and zero_float4().

◆ isequal()

ccl_device_inline bool isequal ( const float4 a,
const float4 b )

Definition at line 534 of file math_float4.h.

References b, and ccl_device_inline.

◆ isfinite_safe()

ccl_device_inline bool isfinite_safe ( float4 v)

Definition at line 589 of file math_float4.h.

References ccl_device_inline, isfinite_safe(), and v.

Referenced by ensure_finite(), and isfinite_safe().

◆ len()

ccl_device_inline float len ( const float4 a)

Definition at line 385 of file math_float4.h.

References ccl_device_inline, dot(), and sqrtf.

◆ len_squared()

ccl_device_inline float len_squared ( const float4 a)

Definition at line 390 of file math_float4.h.

References ccl_device_inline, and dot().

◆ load_float4()

ccl_device_inline float4 load_float4 ( ccl_private const float * v)

Definition at line 565 of file math_float4.h.

References ccl_device_inline, ccl_private, make_float4(), and v.

◆ log()

Definition at line 527 of file math_float4.h.

References ccl_device_inline, logf, make_float4(), and v.

◆ madd()

ccl_device_inline const float4 madd ( const float4 a,
const float4 b,
const float4 c )

Definition at line 217 of file math_float4.h.

References b, and ccl_device_inline.

◆ mask()

ccl_device_inline float4 mask ( const int4 mask,
const float4 a )

Definition at line 559 of file math_float4.h.

References ccl_device_inline, mask(), select(), and zero_float4().

Referenced by __btc(), __btc(), accessor_release_mask_callback(), acf_mask_setting_ptr(), actedit_get_context(), blender::fn::multi_function::VariableState::add_as_input(), blender::fn::multi_function::VariableState::add_as_mutable(), blender::fn::multi_function::VariableState::add_as_output(), blender::fn::multi_function::VariableState::add_as_output__one(), blender::fn::multi_function::VariableStates::add_as_param(), blender::fn::multi_function::VariableStates::add_as_param__one(), add_feather_vertex_exec(), blender::fn::multi_function::InstructionScheduler::add_referenced_indices(), add_vertex_exec(), add_vertex_extrude(), add_vertex_handle_cyclic(), add_vertex_handle_cyclic_at_point(), add_vertex_new(), add_vertex_subdivide(), btMultiBodyDynamicsWorld::addMultiBody(), addRigidBody(), btDynamicsWorld::addRigidBody(), btSimpleDynamicsWorld::addRigidBody(), blender::nodes::node_fn_align_euler_to_vector_cc::align_rotations_auto_pivot(), blender::nodes::node_fn_align_rotation_to_vector_cc::align_rotations_auto_pivot(), blender::nodes::node_fn_align_euler_to_vector_cc::align_rotations_fixed_pivot(), blender::nodes::node_fn_align_rotation_to_vector_cc::align_rotations_fixed_pivot(), alpha_circle_mask(), animchannels_delete_exec(), animdata_filter_mask(), animdata_filter_mask_data(), blender::bits::detail::any_set_expr(), blender::ed::spreadsheet::apply_filter_operation(), blender::bke::greasepencil::assign_to_vertex_group_from_mask(), Device::available_devices(), available_devices_func(), bake_ibuf_filter(), bake_ibuf_normalize_displacement(), bc_get_mesh_copy(), blender::bits::bits_to_index_ranges(), BKE_attribute_domain(), BKE_attributes_length(), BKE_brush_randomize_texture_coords(), BKE_bvhtree_from_mesh_get(), BKE_gpencil_free_layer_masks(), BKE_gpencil_layer_mask_cleanup(), BKE_gpencil_layer_mask_remove(), BKE_gpencil_layer_mask_remove_ref(), BKE_gpencil_layer_mask_sort(), BKE_mask_eval_animation(), BKE_mask_eval_update(), BKE_mask_evaluate(), BKE_mask_get_duration(), BKE_mask_layer_active(), BKE_mask_layer_active_set(), BKE_mask_layer_new(), BKE_mask_layer_remove(), BKE_mask_layer_rename(), BKE_mask_layer_unique_name(), BKE_mask_new(), BKE_mask_point_handle(), BKE_mask_spline_copy(), BKE_mask_spline_differentiate_calc_total(), BKE_maskrasterize_handle_init(), BKE_mesh_new_nomain_from_template_ex(), BKE_mesh_nomain_to_mesh(), BKE_mesh_validate_all_customdata(), BKE_sculpt_mask_layers_ensure(), BKE_tracking_refine_marker(), BKE_tracking_sample_pattern(), blender_device_info(), UniqueName_Value::BLI_BITMAP_DECLARE(), BLI_str_utf8_as_unicode_or_error(), BLI_str_utf8_as_unicode_step_or_error(), blender::gpu::GLFrameBuffer::blit_to(), blo_do_versions_270(), bm_log_vert_values_swap(), BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_bm_to_me_compact(), BM_mesh_bm_to_me_for_eval(), blender::bke::attribute_math::BooleanPropagationMixer::BooleanPropagationMixer(), bounds_min_max_with_transform(), box_select_elem(), brightcontrast_apply(), brush_painter_mask_ibuf_new(), blender::nodes::node_geo_index_of_nearest_cc::build_kdtree(), blender::deg::DepsgraphNodeBuilder::build_mask(), blender::deg::DepsgraphRelationBuilder::build_mask(), blender::fn::multi_function::build::detail::build_multi_function_call_from_element_fn(), blender::index_mask::build_reverse_map(), blender::index_mask::build_reverse_map< int >(), blender::deg::DepsgraphNodeBuilder::build_view_layer(), blender::deg::DepsgraphRelationBuilder::build_view_layer(), bvh_unaligned_node_intersect(), BVHObjectBinning::BVHObjectBinning(), blender::realtime_compositor::CachedMask::CachedMask(), blender::geometry::calc_all_corner_groups(), blender::draw::calc_mesh_edge_visibility(), blender::geometry::calc_new_edges(), blender::draw::calc_vert_visibility_mapped_mesh(), blender::draw::calc_vert_visibility_mesh(), blender::bke::mesh_surface_sample::BaryWeightFromPositionFn::call(), blender::bke::mesh_surface_sample::BaryWeightSampleFn::call(), blender::bke::mesh_surface_sample::CornerBaryWeightFromPositionFn::call(), blender::fn::multi_function::build::detail::CustomMF< CallFn, ParamTags >::call(), blender::fn::multi_function::CustomMF_Constant< T >::call(), blender::fn::multi_function::CustomMF_DefaultOutput::call(), blender::fn::multi_function::CustomMF_GenericConstant::call(), blender::fn::multi_function::CustomMF_GenericConstantArray::call(), blender::fn::multi_function::CustomMF_GenericCopy::call(), blender::fn::multi_function::MultiFunction::call(), blender::fn::multi_function::tests::AddPrefixFunction::call(), blender::fn::multi_function::tests::AppendFunction::call(), blender::fn::multi_function::tests::ConcatVectorsFunction::call(), blender::fn::multi_function::tests::CreateRangeFunction::call(), blender::fn::multi_function::tests::GenericAppendFunction::call(), blender::fn::multi_function::tests::OptionalOutputsFunction::call(), blender::fn::multi_function::tests::SumVectorFunction::call(), blender::fn::tests::TwoOutputFunction::call(), blender::nodes::node_fn_align_euler_to_vector_cc::MF_AlignEulerToVector::call(), blender::nodes::node_fn_align_rotation_to_vector_cc::AlignRotationToVectorFunction::call(), blender::nodes::node_fn_axes_to_rotation_cc::AxesToRotationFunction::call(), blender::nodes::node_fn_combine_matrix_cc::CombineMatrixFunction::call(), blender::nodes::node_fn_combine_transform_cc::CombineTransformFunction::call(), blender::nodes::node_fn_input_special_characters_cc::MF_SpecialCharacters::call(), blender::nodes::node_fn_invert_matrix_cc::InvertMatrixFunction::call(), blender::nodes::node_fn_rotation_to_axis_angle_cc::QuaterniontoAxisAngleFunction::call(), blender::nodes::node_fn_rotation_to_quaternion_cc::SeparateQuaternionFunction::call(), blender::nodes::node_fn_separate_color_cc::SeparateHSLAFunction::call(), blender::nodes::node_fn_separate_color_cc::SeparateHSVAFunction::call(), blender::nodes::node_fn_separate_color_cc::SeparateRGBAFunction::call(), blender::nodes::node_fn_separate_matrix_cc::SeparateMatrixFunction::call(), blender::nodes::node_fn_separate_transform_cc::SeparateTransformFunction::call(), blender::nodes::node_geo_curve_sample_cc::SampleCurveFunction::call(), blender::nodes::node_geo_curve_sample_cc::SampleFloatSegmentsFunction::call(), blender::nodes::node_geo_image_texture_cc::ImageFieldsFunction::call(), blender::nodes::node_geo_index_switch_cc::IndexSwitchFunction::call(), blender::nodes::node_geo_menu_switch_cc::MenuSwitchFn::call(), blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_raycast_cc::RaycastFunction::call(), blender::nodes::node_geo_sample_index_cc::SampleIndexFunction::call(), blender::nodes::node_geo_sample_nearest_cc::SampleNearestFunction::call(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), blender::nodes::node_geo_sample_uv_surface_cc::ReverseUVSampleFunction::call(), blender::nodes::node_sh_mix_cc::MixColorFunction::call(), blender::nodes::node_shader_color_ramp_cc::ColorBandFunction::call(), blender::nodes::node_shader_curves_cc::flt::CurveFloatFunction::call(), blender::nodes::node_shader_curves_cc::rgb::CurveRGBFunction::call(), blender::nodes::node_shader_curves_cc::vec::CurveVecFunction::call(), blender::nodes::node_shader_math_cc::ClampWrapperFunction::call(), blender::nodes::node_shader_mix_rgb_cc::MixRGBFunction::call(), blender::nodes::node_shader_sepcomb_rgb_cc::SeparateRGBFunction::call(), blender::nodes::node_shader_sepcomb_xyz_cc::sep::MF_SeparateXYZ::call(), blender::nodes::node_shader_tex_brick_cc::BrickFunction::call(), blender::nodes::node_shader_tex_checker_cc::NodeTexChecker::call(), blender::nodes::node_shader_tex_gabor_cc::GaborNoiseFunction::call(), blender::nodes::node_shader_tex_gradient_cc::GradientFunction::call(), blender::nodes::node_shader_tex_magic_cc::MagicFunction::call(), blender::nodes::node_shader_tex_noise_cc::NoiseFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiDistToEdgeFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMetricFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiNSphereFunction::call(), blender::nodes::node_shader_tex_wave_cc::WaveFunction::call(), blender::nodes::node_shader_tex_white_noise_cc::WhiteNoiseFunction::call(), blender::fn::multi_function::MultiFunction::call_auto(), blender::bke::call_convert_to_uninitialized_fn(), cdDM_from_mesh_ex(), check_pixel_assigned(), blender::gpu::GLFrameBuffer::clear(), blender::GVectorArray::clear(), click_select_channel_maskdatablock(), clip_main_region_draw(), blender::ed::curves::closest_elem_find_screen_space(), colorBalance_apply(), blender::bke::attribute_math::ColorGeometry4bMixer::ColorGeometry4bMixer(), blender::bke::attribute_math::ColorGeometry4fMixer::ColorGeometry4fMixer(), blender::fn::multi_function::compute_grain_size(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::compute_mask(), configure_and_run_tracker(), blender::geometry::convert_bezier_or_catmull_rom_to_poly_before_conversion_to_nurbs(), blender::compositor::MaskNode::convert_to_operations(), blender::CPPType::copy_assign_compressed(), blender::cpp_type_util::copy_assign_compressed_cb(), blender::CPPType::copy_assign_indices(), blender::cpp_type_util::copy_assign_indices_cb(), blender::CPPType::copy_construct_compressed(), blender::cpp_type_util::copy_construct_compressed_cb(), blender::CPPType::copy_construct_indices(), blender::cpp_type_util::copy_construct_indices_cb(), blender::offset_indices::copy_group_sizes(), copy_splines_exec(), blender::bke::copy_with_checked_indices(), blender::bke::copy_with_checked_indices(), blender::nodes::node_geo_sample_index_cc::copy_with_clamped_indices(), blender::nodes::node_fn_combine_matrix_cc::copy_with_stride(), blender::nodes::node_fn_separate_matrix_cc::copy_with_stride(), blender::array_utils::count_booleans(), create_primitive_from_points(), createTransActionData(), createTransMaskingData(), GHOST_SystemWayland::cursor_shape_custom_set(), curves_apply(), CustomData_bmesh_merge_layout(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_write(), CustomData_free_typemask(), CustomData_has_referenced(), CustomData_init_from(), CustomData_init_layout_from(), customData_mask_layers__print(), CustomData_merge(), customdata_merge_internal(), CustomData_merge_layout(), CustomData_number_of_layers_typemask(), CustomData_set_only_copy(), CustomData_shallow_copy_remove_non_bmesh_attributes(), blender::fn::multi_function::CustomMF_GenericConstant::CustomMF_Constant, cyclic_toggle_exec(), blender::gpu::debug::DEBUG_FUNC_DECLARE(), blender::gpu::DEBUG_FUNC_OVERRIDE(), blender::CPPType::default_construct_indices(), blender::cpp_type_util::default_construct_indices_cb(), delete_exec(), blender::fn::multi_function::VariableState::destruct(), blender::fn::multi_function::VariableStates::destruct(), blender::CPPType::destruct_indices(), blender::cpp_type_util::destruct_indices_cb(), Device::device_capabilities(), device_kernel_mask_as_string(), DM_from_template(), DM_set_only_copy(), blender::nodes::node_geo_curve_fill_cc::do_cdt_with_mask(), do_grease_pencil_box_select(), blender::nodes::node_geo_curve_fill_cc::do_group_aware_cdt(), do_lasso_select_grease_pencil(), do_projectpaint_clone(), do_projectpaint_clone_f(), do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_mask(), do_projectpaint_mask_f(), do_projectpaint_smear(), do_projectpaint_smear_f(), do_projectpaint_soften(), do_projectpaint_soften_f(), do_projectpaint_thread(), draw_image_cache(), draw_mask_layers(), DRW_shgroup_stencil_mask(), blender::ed::object::dt_add_vcol_layers(), blender::ed::curves::duplicate_curves(), blender::ed::curves::duplicate_points(), ed_curves_select_pick(), ed_grease_pencil_select_pick(), ED_mask_deselect_all(), ED_mask_draw_frames(), ED_mask_layer_ensure(), ED_mask_layer_shape_auto_key_all(), ED_mask_layer_shape_auto_key_select(), ED_mask_new(), ED_mask_select_check(), ED_mask_select_flush_all(), ED_mask_select_toggle_all(), ED_mask_selected_minmax(), ED_region_panels_draw(), ED_space_clip_set_mask(), ED_space_image_set_mask(), ED_space_image_show_cache(), ED_view3d_minmax_verts(), edit_uv_mask_texture(), blender::bke::editbmesh_calc_modifiers(), escape_uri_string(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::GJK::Evaluate(), blender::fn::multi_function::evaluate_as_one(), blender::index_mask::evaluate_coarse(), blender::index_mask::evaluate_exact_with_bits(), blender::index_mask::evaluate_exact_with_indices(), blender::index_mask::evaluate_expression(), blender::fn::evaluate_fields(), blender::index_mask::evaluate_short_unknown_segments_exactly(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::execute_anti_aliased(), blender::fn::multi_function::build::detail::execute_array(), blender::fn::multi_function::execute_call_instruction(), blender::fn::multi_function::build::detail::execute_element_fn_as_multi_function(), blender::fn::multi_function::build::detail::execute_materialized(), blender::nodes::execute_multi_function_on_value_variant__single(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute_single_value(), blender::GVectorArray::extend(), blender::GVectorArray::extend(), blender::bke::pbvh::uv_islands::UVIsland::extend_border(), blender::geometry::extract_curves(), blender::geometry::extract_curves_points(), blender::geometry::extract_greasepencil_layer_curves(), blender::geometry::extract_greasepencil_layer_points(), blender::geometry::extract_greasepencil_layers(), blender::geometry::extract_instances(), blender::geometry::extract_mesh_edges(), blender::geometry::extract_mesh_faces(), blender::geometry::extract_mesh_vertices(), blender::geometry::extract_pointcloud_points(), blender::draw::extract_sculpt_data(), blender::draw::extract_sculpt_data_subdiv(), extrawindow_spin_cursor(), fabs(), blender::fn::FieldEvaluator::FieldEvaluator(), blender::CPPType::fill_assign_indices(), blender::cpp_type_util::fill_assign_indices_cb(), blender::CPPType::fill_construct_indices(), blender::cpp_type_util::fill_construct_indices_cb(), blender::fn::multi_function::fill_params(), blender::fn::multi_function::fill_params__one(), blender::ed::curves::fill_selection_false(), blender::ed::curves::fill_selection_true(), blender::draw::pbvh::fill_vbo_mask_mesh(), blender::draw::pbvh::fill_vbos_mesh(), blender::bke::attribute_math::ColorGeometry4bMixer::finalize(), blender::bke::attribute_math::ColorGeometry4fMixer::finalize(), blender::bke::attribute_math::float4x4Mixer::finalize(), blender::bke::attribute_math::SimpleMixer< float >::finalize(), blender::bke::attribute_math::SimpleMixerWithAccumulationType< int, double, int_to_double, double_to_int >::finalize(), blender::nodes::node_geo_index_of_nearest_cc::find_neighbors(), find_prev_next_keyframes(), blender::bke::curves::foreach_curve_by_type(), blender::draw::pbvh::free_batches(), blender::draw::pbvh::free_ibos(), blender::draw::pbvh::free_vbos(), blender::index_mask::IndexMask::from_segments(), blender::offset_indices::gather_group_sizes(), blender::render::texturemargin::generate_margin(), geometry_extract_tag_masked_faces(), blender::realtime_compositor::CachedMaskContainer::get(), GHOST_Buttons::get(), GHOST_ModifierKeys::get(), blender::nodes::get_closest_in_bvhtree(), blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_corners(), blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_edges(), blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_faces(), blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_points(), blender::nodes::node_geo_sample_nearest_cc::get_closest_mesh_tris(), blender::nodes::node_geo_sample_nearest_cc::get_closest_pointcloud_points(), blender::fn::get_field_context_inputs(), blender::fn::IndexFieldInput::get_index_varray(), blender::realtime_compositor::get_mask_raster_handles(), blender::ed::greasepencil::get_points_to_dissolve(), blender::index_mask::get_static_index_mask_for_min_size(), blender::GVArrayImpl::get_to_uninitialized(), blender::bke::CurvesFieldInput::get_varray_for_context(), blender::bke::CurvesFieldInput::get_varray_for_context(), blender::bke::EvaluateAtIndexInput::get_varray_for_context(), blender::bke::GeometryFieldInput::get_varray_for_context(), blender::bke::GeometryFieldInput::get_varray_for_context(), blender::bke::IDAttributeFieldInput::get_varray_for_context(), blender::bke::InstancesFieldInput::get_varray_for_context(), blender::bke::InstancesFieldInput::get_varray_for_context(), blender::bke::MeshFieldInput::get_varray_for_context(), blender::bke::MeshFieldInput::get_varray_for_context(), blender::bke::NamedLayerSelectionFieldInput::get_varray_for_context(), blender::bke::NormalFieldInput::get_varray_for_context(), blender::bke::PointCloudFieldInput::get_varray_for_context(), blender::bke::PointCloudFieldInput::get_varray_for_context(), blender::fn::FieldInput::get_varray_for_context(), blender::fn::IndexFieldInput::get_varray_for_context(), blender::fn::tests::IndexFieldInput::get_varray_for_context(), blender::nodes::node_geo_curve_handle_type_selection_cc::HandleTypeFieldInput::get_varray_for_context(), blender::nodes::node_geo_curve_topology_points_of_curve_cc::PointsOfCurveInput::get_varray_for_context(), blender::nodes::node_geo_index_of_nearest_cc::HasNeighborFieldInput::get_varray_for_context(), blender::nodes::node_geo_index_of_nearest_cc::IndexOfNearestFieldInput::get_varray_for_context(), blender::nodes::node_geo_input_curve_handles_cc::HandlePositionFieldInput::get_varray_for_context(), blender::nodes::node_geo_material_selection_cc::MaterialSelectionFieldInput::get_varray_for_context(), blender::nodes::node_geo_mesh_topology_corners_of_edge_cc::CornersOfEdgeInput::get_varray_for_context(), blender::nodes::node_geo_mesh_topology_corners_of_face_cc::CornersOfFaceInput::get_varray_for_context(), blender::nodes::node_geo_mesh_topology_corners_of_vertex_cc::CornersOfVertInput::get_varray_for_context(), blender::nodes::node_geo_mesh_topology_edges_of_vertex_cc::EdgesOfVertInput::get_varray_for_context(), blender::nodes::node_geo_mesh_topology_offset_corner_in_face_cc::OffsetCornerInFaceFieldInput::get_varray_for_context(), blender::nodes::node_geo_offset_point_in_curve_cc::ControlPointNeighborFieldInput::get_varray_for_context(), blender::nodes::node_geo_offset_point_in_curve_cc::OffsetValidFieldInput::get_varray_for_context(), blender::nodes::node_geo_tool_selection_cc::SculptSelectionFieldInput::get_varray_for_context(), blender::bke::GreasePencilLayerFieldContext::get_varray_for_input(), blender::fn::FieldContext::get_varray_for_input(), blender::nodes::node_geo_points_cc::PointsFieldContext::get_varray_for_input(), GetApplicationSupportDir(), GHOST_ISystem::getButtonState(), GHOST_System::getButtonState(), GHOST_ModifierKeys::getModifierKeyCode(), GHOST_ISystem::getModifierKeyState(), GHOST_System::getModifierKeyState(), Cubes::getNumTriangle(), Cubes::getTriangle(), GHOST_WindowX11::getWindowCursorGrab(), GHOST_GetButtonState(), GHOST_GetModifierKeyState(), GHOST_SetCustomCursorShape(), gpencil_is_layer_mask(), gpencil_layer_cache_add(), GPU_write_mask(), grease_pencil_circle_select(), grease_pencil_layer_cache_add(), blender::ed::greasepencil::grease_pencil_layer_mask_remove_exec(), blender::ed::greasepencil::grease_pencil_layer_mask_reorder_exec(), gwl_window_cursor_custom_store(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry(), blender::ed::curves::has_anything_selected(), hash_shuffle_uint(), heat_bone_weighting(), hue_correct_apply(), hue_correct_apply_threaded(), image_context(), image_main_region_draw(), image_refresh(), IMB_buffer_byte_from_float_mask(), IMB_buffer_float_from_float_mask(), IMB_filter_extend(), IMB_mask_clear(), IMB_mask_filter_extend(), IMB_rectblend(), blender::draw::index_mask_to_ibo(), blender::fn::multi_function::VariableState::indices_split(), blender::bits::inplace_or_masked(), blender::array_utils::invert_booleans(), blender::ed::curves::invert_selection(), blender::ed::curves::invert_selection(), is_used_as_layer_mask_in_viewlayer(), keyframe_jump_exec(), blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), libmv_samplePlanarPatchByte(), libmv_samplePlanarPatchFloat(), blender::render::texturemargin::TextureMarginMap::lookup_pixels(), UniqueName_Value::mark_unused(), UniqueName_Value::mark_used(), mask(), mask_alloc(), mask_blend_read_data(), mask_blend_write(), mask_duplicate_exec(), mask_feather_weight_clear_exec(), mask_foreach_id(), mask_free_data(), mask_has_selection(), mask_hide_view_clear_exec(), mask_hide_view_set_exec(), mask_layer_move_exec(), mask_layer_move_poll(), mask_layer_new_exec(), mask_layer_remove_exec(), mask_normals_make_consistent_exec(), mask_parent_clear_exec(), mask_parent_set_exec(), mask_rasterize(), mask_select_linked_exec(), mask_select_linked_pick_invoke(), mask_select_more_less(), mask_shape_key_clear_exec(), mask_shape_key_feather_reset_exec(), mask_shape_key_insert_exec(), mask_shape_key_rekey_exec(), mask_switch_direction_exec(), blender::index_mask::masked_fill(), maskmodifier_apply(), maskmodifier_apply_threaded(), blender::bke::VArrayImpl_For_VertexWeights::materialize(), blender::GVArrayCommon::materialize(), blender::GVArrayImpl::materialize(), blender::GVArrayImpl_For_GSpan::materialize(), blender::GVArrayImpl_For_SingleValueRef::materialize(), blender::GVArrayImpl_For_SlicedGVArray::materialize(), blender::GVArrayImpl_For_VArray< T >::materialize(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize(), blender::VArrayCommon< T >::materialize(), blender::VArrayImpl< T >::materialize(), blender::VArrayImpl_For_GVArray< T >::materialize(), blender::VArrayImpl_For_Single< T >::materialize(), blender::VArrayImpl_For_Span< T >::materialize(), blender::GVArrayCommon::materialize_compressed(), blender::GVArrayImpl::materialize_compressed(), blender::GVArrayImpl_For_GSpan::materialize_compressed(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed(), blender::GVArrayImpl_For_SlicedGVArray::materialize_compressed(), blender::GVArrayImpl_For_VArray< T >::materialize_compressed(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_compressed(), blender::VArrayCommon< T >::materialize_compressed(), blender::VArrayImpl< T >::materialize_compressed(), blender::VArrayImpl_For_GVArray< T >::materialize_compressed(), blender::VArrayImpl_For_Single< T >::materialize_compressed(), blender::VArrayImpl_For_Span< T >::materialize_compressed(), blender::GVArrayCommon::materialize_compressed_to_uninitialized(), blender::GVArrayImpl::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_GSpan::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_SlicedGVArray::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_VArray< T >::materialize_compressed_to_uninitialized(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_compressed_to_uninitialized(), blender::VArrayCommon< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl_For_GVArray< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl_For_Single< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl_For_Span< T >::materialize_compressed_to_uninitialized(), blender::bke::VArrayImpl_For_VertexWeights::materialize_to_uninitialized(), blender::GVArrayCommon::materialize_to_uninitialized(), blender::GVArrayImpl::materialize_to_uninitialized(), blender::GVArrayImpl_For_GSpan::materialize_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::materialize_to_uninitialized(), blender::GVArrayImpl_For_SlicedGVArray::materialize_to_uninitialized(), blender::GVArrayImpl_For_VArray< T >::materialize_to_uninitialized(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_to_uninitialized(), blender::VArrayCommon< T >::materialize_to_uninitialized(), blender::VArrayImpl< T >::materialize_to_uninitialized(), blender::VArrayImpl_For_GVArray< T >::materialize_to_uninitialized(), blender::VArrayImpl_For_Single< T >::materialize_to_uninitialized(), blender::VArrayImpl_For_Span< T >::materialize_to_uninitialized(), blender::GVArrayCommon::may_have_ownership(), blender::bke::mesh_calc_modifiers(), mesh_copy_data(), mesh_new_from_mesh_object_with_layers(), blender::bke::mesh_normals_varray(), blender::bke::mesh_set_only_copy(), mesh_validate_customdata(), blender::bounds::min_max(), blender::bits::detail::mix_into_first_expr(), modifier_apply_threaded(), modifier_init_handle(), blender::CPPType::move_assign_indices(), blender::cpp_type_util::move_assign_indices_cb(), blender::CPPType::move_construct_indices(), blender::cpp_type_util::move_construct_indices_cb(), multires_disp_run_cb(), nlavalidmask_free(), nlavalidmask_init(), blender::ed::space_node::node_add_mask_exec(), blender::nodes::node_geo_edge_split_cc::node_geo_exec(), blender::nodes::node_geo_sample_index_cc::node_geo_exec(), blender::nodes::node_geo_scale_elements_cc::node_geo_exec(), blender::bke::pbvh::node_update_mask_grids(), blender::bke::pbvh::node_update_mask_mesh(), blender::geometry::offsets_to_map(), operator-(), operator-(), blender::index_mask::operator<<(), blender::bke::anonymous_attribute_inferencing::or_into_each_other_masked(), blender::bke::anonymous_attribute_inferencing::or_into_each_other_masked(), OVERLAY_edit_mesh_cache_init(), paint_2d_do_making_brush(), paint_2d_lift_soften(), blender::fn::multi_function::ParamsBuilder::Params, blender::fn::multi_function::ParamsBuilder::ParamsBuilder(), paste_splines_exec(), pointdensity_cache_object(), posttrans_mask_clean(), blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components(), GHOST_SystemWin32::processButtonEvent(), project_paint_face_init(), project_paint_uvpixel_init(), project_paint_uvpixel_mask(), blender::ed::curves::random_mask(), blender::render::texturemargin::TextureMarginMap::rasterize_tri(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), RE_bake_margin(), RE_bake_mask_fill(), RE_bake_pixels_populate(), RE_generate_texturemargin_adjacentfaces(), RE_generate_texturemargin_adjacentfaces(), RE_generate_texturemargin_adjacentfaces_dm(), read_layer(), blender::io::usd::USDPointInstancerReader::read_object_data(), blender::geometry::reassign_loose_edge_verts(), recalcData_mask_common(), region_select_elem(), blender::CPPType::relocate_assign_indices(), blender::cpp_type_util::relocate_assign_indices_cb(), blender::CPPType::relocate_construct_indices(), blender::cpp_type_util::relocate_construct_indices_cb(), blender::bke::Instances::remove(), blender::ed::greasepencil::remove_points_and_split(), blender::ed::curves::remove_selection(), rna_enum_bitmask(), blender::bke::mesh_surface_sample::sample_barycentric_weights(), blender::bke::mesh_surface_sample::sample_corner_attribute(), blender::bke::mesh_surface_sample::sample_corner_attribute(), blender::bke::mesh_surface_sample::sample_corner_normals(), blender::bke::mesh_surface_sample::sample_face_attribute(), blender::bke::mesh_surface_sample::sample_face_attribute(), blender::nodes::node_geo_curve_sample_cc::sample_indices_and_factors_to_compressed(), blender::nodes::node_geo_curve_sample_cc::sample_indices_and_lengths(), blender::bke::mesh_surface_sample::sample_nearest_weights(), blender::bke::mesh_surface_sample::sample_point_attribute(), blender::bke::mesh_surface_sample::sample_point_attribute(), blender::bke::mesh_surface_sample::sample_point_normals(), libmv::SamplePlanarPatch(), sdl_ghost_CreateCursor(), btDbvtAabbMm::Select, select(), select(), select(), select(), blender::ed::curves::select_all(), select_all_exec(), blender::ed::curves::select_box(), blender::ed::curves::select_box_mask(), blender::ed::curves::select_circle(), blender::ed::curves::select_circle_mask(), select_exec(), select_grouped_data(), blender::ed::curves::select_lasso(), blender::ed::curves::select_lasso_mask(), blender::ed::curves::select_mask_from_predicates(), blender::ed::greasepencil::select_similar_by_value(), select_sliding_point(), SEQ_modifier_apply_stack(), seq_render_mask(), sequencer_add_mask_strip_exec(), sequencer_context(), blender::bke::attribute_math::ColorGeometry4bMixer::set(), blender::bke::attribute_math::float4x4Mixer::set(), GHOST_Buttons::set(), GHOST_ModifierKeys::set(), set_handle_type_exec(), blender::compositor::MaskOperation::set_mask(), setAttrValueBit(), GHOST_IWindow::setCustomCursorShape(), GHOST_Window::setCustomCursorShape(), setup_vertex_point(), GHOST_Window::setWindowCustomCursorShape(), GHOST_WindowCocoa::setWindowCustomCursorShape(), GHOST_WindowSDL::setWindowCustomCursorShape(), GHOST_WindowWayland::setWindowCustomCursorShape(), GHOST_WindowX11::setWindowCustomCursorShape(), blender::bke::attribute_math::SimpleMixer< float >::SimpleMixer(), blender::bke::attribute_math::SimpleMixerWithAccumulationType< int, double, int_to_double, double_to_int >::SimpleMixerWithAccumulationType(), slice_paint_mask(), slide_point_customdata(), slide_point_invoke(), slide_spline_curvature_check(), slide_spline_curvature_customdata(), slide_spline_curvature_invoke(), blender::nodes::node_geo_sort_elements_cc::sorted_indices(), blender::bits::spans_equal_masked(), special_aftertrans_update__mask(), blender::split_index_range_by_alignment(), blender::ed::spreadsheet::spreadsheet_filter_rows(), standard_test(), stencil_control_invoke(), blender::bke::subdiv::subdiv_mesh_topology_info(), blender::offset_indices::sum_group_sizes(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::multi_function::tests::TEST(), blender::fn::tests::TEST(), blender::fn::tests::TEST(), blender::fn::tests::TEST(), blender::fn::tests::TEST(), blender::fn::tests::TEST(), blender::fn::tests::TEST(), blender::fn::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::index_mask::tests::TEST(), blender::gpu::to_gl(), tonemap_rd_photoreceptor(), tonemap_simple(), tonemapmodifier_apply(), track_mask_gpencil_layer_rasterize(), tracking_configure_tracker(), tracking_track_get_mask_for_region(), tracking_trackingCameraFromIntrinscisOptions(), blender::bke::try_capture_fields_on_geometry(), blender::nodes::LazyFunctionForForeachGeometryElementZone::try_extract_element_geometries(), UI_view2d_view_to_region_m4(), blender::gpu::GLVertArray::update_bindings(), blender::update_depsgraph(), update_depsgraph(), blender::bke::pbvh::update_mask_mesh(), blender::compositor::BoxMaskOperation::update_memory_buffer_partial(), blender::compositor::EllipseMaskOperation::update_memory_buffer_partial(), blender::compositor::ZCombineMaskOperation::update_memory_buffer_partial(), GHOST_NDOFManager::updateButtonsBitmask(), UniqueName_Value::use_if_unused(), UniqueName_Value::use_smallest_unused(), utf8_char_decode(), blender::CPPType::value_initialize_indices(), blender::cpp_type_util::value_initialize_indices_cb(), blender::ed::object::vertex_group_lock_exec(), blender::ed::object::vertex_group_lock_get_description(), blender::ed::object::vgroup_lock_all(), blender::ed::object::vgroup_selected_get(), viewRedrawForce(), whiteBalance_apply(), whiteBalance_apply_threaded(), window_set_custom_cursor(), WM_cursor_time(), WM_event_type_mask_test(), write_layer(), DeviceQueue::~DeviceQueue(), blender::fn::FieldContext::~FieldContext(), and blender::bke::greasepencil::Layer::~Layer().

◆ max()

ccl_device_inline float4 max ( const float4 a,
const float4 b )

Definition at line 202 of file math_float4.h.

References b, ccl_device_inline, make_float4(), and max.

◆ min()

ccl_device_inline float4 min ( const float4 a,
const float4 b )

Definition at line 193 of file math_float4.h.

References b, ccl_device_inline, make_float4(), and min.

◆ mix() [1/2]

ccl_device_inline float4 mix ( const float4 a,
const float4 b,
const float4 t )

Definition at line 512 of file math_float4.h.

References b, and ccl_device_inline.

◆ mix() [2/2]

ccl_device_inline float4 mix ( const float4 a,
const float4 b,
float t )

Definition at line 507 of file math_float4.h.

References b, and ccl_device_inline.

◆ msub()

ccl_device_inline float4 msub ( const float4 a,
const float4 b,
const float4 c )

Definition at line 232 of file math_float4.h.

References b, and ccl_device_inline.

Referenced by cross(), and ray_triangle_cross().

◆ normalize()

ccl_device_inline float4 normalize ( const float4 a)

Definition at line 449 of file math_float4.h.

References ccl_device_inline, and len.

◆ one_float4()

ccl_device_inline float4 one_float4 ( )

Definition at line 24 of file math_float4.h.

References ccl_device_inline, and make_float4().

◆ operator*() [1/3]

ccl_device_inline float4 operator* ( const float4 a,
const float4 b )

Definition at line 50 of file math_float4.h.

References b, ccl_device_inline, and make_float4().

◆ operator*() [2/3]

ccl_device_inline float4 operator* ( const float4 a,
float f )

Definition at line 59 of file math_float4.h.

References ccl_device_inline, and make_float4().

◆ operator*() [3/3]

ccl_device_inline float4 operator* ( float f,
const float4 a )

Definition at line 68 of file math_float4.h.

References ccl_device_inline.

◆ operator*=() [1/2]

ccl_device_inline float4 operator*= ( float4 & a,
const float4 b )

Definition at line 125 of file math_float4.h.

References b, and ccl_device_inline.

◆ operator*=() [2/2]

ccl_device_inline float4 operator*= ( float4 & a,
float f )

Definition at line 130 of file math_float4.h.

References ccl_device_inline.

◆ operator+() [1/2]

ccl_device_inline float4 operator+ ( const float4 a,
const float f )

Definition at line 96 of file math_float4.h.

References ccl_device_inline, and make_float4().

◆ operator+() [2/2]

ccl_device_inline float4 operator+ ( const float4 a,
const float4 b )

Definition at line 87 of file math_float4.h.

References b, ccl_device_inline, and make_float4().

◆ operator+=()

ccl_device_inline float4 operator+= ( float4 & a,
const float4 b )

Definition at line 115 of file math_float4.h.

References b, and ccl_device_inline.

◆ operator-() [1/3]

ccl_device_inline float4 operator- ( const float4 & a)

Definition at line 40 of file math_float4.h.

References ccl_device_inline, make_float4(), and mask().

◆ operator-() [2/3]

ccl_device_inline float4 operator- ( const float4 a,
const float f )

Definition at line 110 of file math_float4.h.

References ccl_device_inline, and make_float4().

◆ operator-() [3/3]

ccl_device_inline float4 operator- ( const float4 a,
const float4 b )

Definition at line 101 of file math_float4.h.

References b, ccl_device_inline, and make_float4().

◆ operator-=()

ccl_device_inline float4 operator-= ( float4 & a,
const float4 b )

Definition at line 120 of file math_float4.h.

References b, and ccl_device_inline.

◆ operator/() [1/2]

ccl_device_inline float4 operator/ ( const float4 a,
const float4 b )

Definition at line 78 of file math_float4.h.

References b, ccl_device_inline, and make_float4().

◆ operator/() [2/2]

ccl_device_inline float4 operator/ ( const float4 a,
float f )

Definition at line 73 of file math_float4.h.

References ccl_device_inline.

◆ operator/=() [1/2]

ccl_device_inline float4 operator/= ( float4 & a,
const float4 b )

Definition at line 135 of file math_float4.h.

References b, and ccl_device_inline.

◆ operator/=() [2/2]

ccl_device_inline float4 operator/= ( float4 & a,
float f )

Definition at line 140 of file math_float4.h.

References ccl_device_inline.

◆ operator<()

ccl_device_inline int4 operator< ( const float4 a,
const float4 b )

Definition at line 145 of file math_float4.h.

References b, ccl_device_inline, and make_int4().

◆ operator<=()

ccl_device_inline int4 operator<= ( const float4 a,
const float4 b )

Definition at line 163 of file math_float4.h.

References b, ccl_device_inline, and make_int4().

◆ operator==()

ccl_device_inline bool operator== ( const float4 a,
const float4 b )

Definition at line 172 of file math_float4.h.

References b, and ccl_device_inline.

◆ operator>=()

ccl_device_inline int4 operator>= ( const float4 a,
const float4 b )

Definition at line 154 of file math_float4.h.

References b, ccl_device_inline, and make_int4().

◆ operator^()

ccl_device_inline const float4 operator^ ( const float4 a,
const float4 b )

Definition at line 181 of file math_float4.h.

References __float_as_uint, __uint_as_float, b, ccl_device_inline, and make_float4().

◆ power()

Definition at line 608 of file math_float4.h.

References ccl_device_inline, e, make_float4(), powf, and v.

◆ rcp()

Definition at line 406 of file math_float4.h.

References ccl_device_inline, and make_float4().

◆ reduce_add()

ccl_device_inline float reduce_add ( const float4 a)

Definition at line 324 of file math_float4.h.

References ccl_device_inline.

Referenced by average().

◆ reduce_max()

ccl_device_inline float reduce_max ( const float4 a)

Definition at line 355 of file math_float4.h.

References ccl_device_inline, and max.

◆ reduce_min()

ccl_device_inline float reduce_min ( const float4 a)

Definition at line 341 of file math_float4.h.

References ccl_device_inline, and min.

◆ safe_divide() [1/2]

ccl_device_inline float4 safe_divide ( const float4 a,
const float b )

Definition at line 576 of file math_float4.h.

References b, ccl_device_inline, and zero_float4().

◆ safe_divide() [2/2]

ccl_device_inline float4 safe_divide ( const float4 a,
const float4 b )

Definition at line 581 of file math_float4.h.

References b, ccl_device_inline, and make_float4().

◆ safe_normalize()

ccl_device_inline float4 safe_normalize ( const float4 a)

Definition at line 454 of file math_float4.h.

References ccl_device_inline, and len.

◆ saturate()

ccl_device_inline float4 saturate ( const float4 a)

Definition at line 517 of file math_float4.h.

References ccl_device_inline, make_float4(), and saturatef.

◆ select()

ccl_device_inline float4 select ( const int4 mask,
const float4 a,
const float4 b )

Definition at line 544 of file math_float4.h.

References b, ccl_device_inline, make_float4(), and mask().

Referenced by animchannels_box_select_exec(), armature_circle_select(), armature_reveal_exec(), armature_select_linked_impl(), armature_select_linked_pick_invoke(), arrow_draw_geom(), arrow_draw_intern(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_point_count(), BM_edge_select_set(), BM_edge_select_set_noflush(), BM_elem_select_set(), BM_face_select_set(), BM_face_select_set_noflush(), BM_vert_select_set(), bone_collection_select(), box_select_exec(), box_select_exec(), box_select_exec(), bpoint_select_set(), blender::build_drawing(), button2d_draw_intern(), button2d_geom_draw_backdrop(), BVHObjectBinning::BVHObjectBinning(), circle_select_exec(), circle_select_exec(), clip_lasso_select_exec(), console_move_exec(), construct_param_handle_face_add(), construct_param_handle_subsurfed(), curve_nurb_select_similar_type(), curve_select_random_exec(), dial_3d_draw_util(), dial_draw_intern(), dial_geom_draw(), do_lasso_select_marker(), do_lasso_select_mask(), do_lasso_select_mesh_uv(), blender::ed::space_node::do_lasso_select_node(), blender::ed::outliner::do_outliner_bone_select_recursive(), blender::ed::outliner::do_outliner_ebone_select_recursive(), blender::ed::outliner::do_outliner_object_select_recursive(), ED_armature_ebone_select_set(), ED_curve_pick_vert_ex(), ed_marker_box_select_exec(), ED_pose_bone_select(), ED_pose_deselect_all_multi_ex(), ED_uvedit_minmax_multi(), ED_uvedit_nearest_uv_multi(), ED_uvedit_select_sync_flush(), EDBM_deselect_by_material(), EDBM_mesh_reveal(), EDBM_preselect_elem_update_from_single(), edbm_reveal_exec(), edbm_select_face_by_sides_exec(), edbm_select_random_exec(), EDBM_unified_findnearest_from_raycast(), face_vert_reveal_exec(), file_box_select_exec(), file_descriptor_is_io_ready(), file_select(), filelist_entries_select_index_range_set(), filelist_entry_parent_select_set(), filelist_entry_select_index_set(), filelist_entry_select_set(), filelist_setdir(), findnearestLattvert(), gizmo_cage2d_draw_intern(), gizmo_cage3d_draw_intern(), gizmo_primitive_draw_intern(), graphview_curves_reveal_exec(), blender::ed::greasepencil::grease_pencil_material_select_exec(), lattice_circle_select(), lattice_select_more_less(), lattice_select_random_exec(), mask(), mask_hide_view_clear_exec(), material_slot_de_select(), mball_circle_select(), mball_select_similar_type(), mesh_circle_select(), mouse_mesh_loop(), mouse_mesh_loop_edge(), mouse_mesh_loop_edge_ring(), mouse_mesh_loop_face(), move3d_draw_intern(), move_cursor(), move_geom_draw(), blender::ed::space_node::node_box_select_exec(), blender::ed::space_node::node_circleselect_exec(), blender::bke::node_set_selected(), nurbscurve_circle_select(), object_circle_select(), blender::ed::object::object_hide_view_clear_exec(), blender::ed::object::object_select_more_less(), blender::ed::object::object_select_random_exec(), blender::ed::outliner::outliner_box_select(), blender::ed::outliner::outliner_box_select_exec(), blender::ed::outliner::outliner_draw_restrictbuts(), blender::ed::outliner::outliner_item_do_activate_from_cursor(), blender::geometry::p_add_ngon(), blender::geometry::p_chart_lscm_begin(), blender::geometry::p_face_add_construct(), paint_select_linked_pick_invoke(), paint_vertsel_circle_select(), paintcurve_point_select(), paintcurve_slide_invoke(), paintface_reveal(), paintface_select_linked(), paintface_select_linked_faces(), paintface_select_loop(), paintface_select_loop_invoke(), paintvert_reveal(), paintvert_select_linked_pick(), paintvert_select_linked_pick_invoke(), paintvert_select_linked_vertices(), blender::point_counts_to_keep_concurrent(), blender::points_info_sequential(), pose_circle_select(), pose_reveal_exec(), blender::reorder_strokes(), reveal_exec(), reveal_exec(), reveal_metaelems_exec(), blender::bke::greasepencil::select_from_group(), select_linked_pick_invoke(), select_random_exec(), select_random_metaelems_exec(), sequencer_box_select_exec(), set_active_action_group(), show_pose_bone_cb(), similar_edge_select_exec(), similar_face_select_exec(), similar_vert_select_exec(), SleepTillEvent(), text_move_cursor(), ui_textedit_move(), uv_box_select_exec(), uv_circle_select_exec(), blender::geometry::uv_parametrizer_face_add(), blender::geometry::uv_parametrizer_slim_live_begin(), uv_reveal_exec(), uv_select_all_perform_multi_ex(), uv_select_edgeloop(), uv_select_edgering(), uv_select_faceloop(), uv_select_flush_from_tag_face(), uv_select_flush_from_tag_loop(), uv_select_flush_from_tag_sticky_loc_internal(), uv_select_more_less(), uv_select_similar_edge_exec(), uv_select_similar_face_exec(), uv_select_similar_island_exec(), uv_select_similar_vert_exec(), uv_shortest_path_pick_ex(), uvedit_edge_select_set(), uvedit_edge_select_set_noflush(), uvedit_edge_select_set_with_sticky(), uvedit_edge_select_shared_vert(), uvedit_face_select_set(), uvedit_face_select_set_with_sticky(), uvedit_face_select_shared_vert(), uvedit_uv_select_set(), uvedit_uv_select_set_with_sticky(), uvedit_uv_select_shared_vert(), uvedit_vertex_select_tagged(), blender::ed::object::vgroup_select_verts(), view3d_userdata_circleselect_init(), walker_select(), WM_gizmo_select_set(), and wm_gizmo_select_set_ex().

◆ sqr()

Definition at line 395 of file math_float4.h.

References ccl_device_inline.

◆ sqrt()

ccl_device_inline float4 sqrt ( const float4 a)

Definition at line 416 of file math_float4.h.

References ccl_device_inline, make_float4(), and sqrtf.

◆ zero_float4()