|
Blender V5.3
|
#include "gpu_shader_compat.hh"Go to the source code of this file.
Functions | |
Comparison | |
| float | reduce_max (float2 a) |
| float | reduce_max (float3 a) |
| float | reduce_max (float4 a) |
| int | reduce_max (int2 a) |
| int | reduce_max (int3 a) |
| int | reduce_max (int4 a) |
| float | reduce_min (float2 a) |
| float | reduce_min (float3 a) |
| float | reduce_min (float4 a) |
| int | reduce_min (int2 a) |
| int | reduce_min (int3 a) |
| int | reduce_min (int4 a) |
| float | reduce_add (float2 a) |
| float | reduce_add (float3 a) |
| float | reduce_add (float4 a) |
| int | reduce_add (int2 a) |
| int | reduce_add (int3 a) |
| int | reduce_add (int4 a) |
| float | average (float2 a) |
| float | average (float3 a) |
| float | average (float4 a) |
Definition at line 115 of file gpu_shader_math_vector_reduce.bsl.hh.
References average(), and reduce_add().
Referenced by average(), average(), average(), average(), average(), average(), average(), average(), average(), average(), background_cdf(), bsdf_dielectric_tint_setup(), bsdf_hair_huang_sample(), bsdf_microfacet_eval(), bsdf_microfacet_sample(), bsdf_microfacet_setup_fresnel_conductor(), bsdf_microfacet_setup_fresnel_dielectric(), bsdf_microfacet_setup_fresnel_f82_tint(), bsdf_microfacet_setup_fresnel_generalized_schlick(), bsdf_ray_portal_setup(), bsdf_transparent_setup(), bssrdf_alloc(), bssrdf_setup(), closure_sample_weight(), closure_to_rgba(), closure_to_rgba_capture(), closure_to_rgba_depth(), closure_to_rgba_forward(), closure_to_rgba_hybrid(), closure_to_rgba_shadow(), closure_to_rgba_world(), compare_vector_average_equal(), compare_vector_average_greater_equal(), compare_vector_average_greater_than(), compare_vector_average_less_equal(), compare_vector_average_less_than(), compare_vector_average_not_equal(), Object::compute_volume_step_size(), ConvertNode::constant_fold(), eevee::dof::Accumulator::dof_gather_accumulator(), blender::ed::sculpt_paint::PaintStroke::done(), btSoftBodyHelpers::Draw(), film_calculate_shadow_catcher_matte_with_shadow(), film_write_data_passes(), eevee::dof::scatter::frag_main(), fresnel_dielectric(), SkyTextureNode::get_sun_average_radiance(), builtin::image::image_frag(), integrate_background(), integrate_direct_light_shadow_init_common(), integrate_surface_holdout(), eevee::deferred::light_eval_frag(), LightTreeEmitter::LightTreeEmitter(), merge_layer_render_time(), merge_render_time(), microfacet_ggx_preserve_energy(), osl_closure_generalized_schlick_bsdf_setup(), precompute_ggx_E(), precompute_ggx_glass_E(), blender::ed::sculpt_paint::expand::reposition_pivot(), eevee::volume::resolve_frag(), set_attribute(), set_attribute(), set_attribute(), set_attribute(), blender::io::usd::USDMaterialReader::set_node_input(), eevee::surf_deferred(), eevee::surf_depth(), eevee::surf_forward(), eevee::surf_hybrid(), eevee::surf_shadow(), eevee::surf_world(), surface_shader_ao(), surface_shader_average_normal(), surface_shader_average_roughness(), svm_node_attr_store(), svm_node_attr_surface_eval(), svm_node_convert(), and svm_node_tex_magic().
Definition at line 119 of file gpu_shader_math_vector_reduce.bsl.hh.
References average(), and reduce_add().
Definition at line 123 of file gpu_shader_math_vector_reduce.bsl.hh.
References average(), and reduce_add().
Definition at line 63 of file gpu_shader_math_vector_reduce.bsl.hh.
References reduce_add(), float2::x, and float2::y.
Referenced by average(), average(), average(), average(), average(), average(), bssrdf_pdf(), gbuffer::Header::closure_len(), eevee::deferred::combine_frag(), eevee::dof::setup::downsample::comp_main(), eevee::dof::setup::reduce::comp_main(), eevee::dof::setup::setup::comp_main(), dot(), film_clamp_light(), eevee::debug::gbuffer::frag_main(), draw::gsplat::detail::pack_normal_octahedral(), eevee::deferred::planar_eval_frag(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), reduce_add(), eevee::fast_gi::resolve(), draw::resource_finalize_main(), eevee::film::Film::sample_catmull_rom(), eevee::dof::setup::stabilize::Resources::sample_history(), single_scattering(), draw::gsplat::detail::unpack_normal_octahedral(), blender::draw::overlay::Resources::update_theme_settings(), volume_sample_channel_pdf(), voronoi_distance(), and voronoi_distance_bound().
Definition at line 67 of file gpu_shader_math_vector_reduce.bsl.hh.
References reduce_add(), float3::x, float3::y, and float3::z.
Definition at line 71 of file gpu_shader_math_vector_reduce.bsl.hh.
References reduce_add(), float4::w, float4::x, float4::y, and float4::z.
| int reduce_add | ( | int2 | a | ) |
Definition at line 75 of file gpu_shader_math_vector_reduce.bsl.hh.
References reduce_add(), int2::x, and int2::y.
| int reduce_add | ( | int3 | a | ) |
Definition at line 79 of file gpu_shader_math_vector_reduce.bsl.hh.
References reduce_add(), int3::x, int3::y, and int3::z.
| int reduce_add | ( | int4 | a | ) |
Definition at line 83 of file gpu_shader_math_vector_reduce.bsl.hh.
References reduce_add(), int4::w, int4::x, int4::y, and int4::z.
Definition at line 13 of file gpu_shader_math_vector_reduce.bsl.hh.
References max, reduce_max(), float2::x, and float2::y.
Referenced by bake_offset_towards_center(), colorspace::brightness_clamp_max(), bsdf_sheen_setup(), bvh_shadow_all_anyhit_filter(), spherical_harmonics::clamp_energy(), closure_layer_albedo(), eevee::dof::setup::reduce::comp_main(), eevee::subsurface::convolve_main(), workbench::dof::downsample(), Shader::estimate_emission(), eevee::dof::scatter::frag_main(), guiding_record_direct_light(), PrincipledBsdfNode::has_surface_emission(), eevee::shadow::usage::TagUsageTransparent::inflate_bounds(), eevee::lightprobe::volume::RayCapture::irradiance_capture_surfel(), eevee::lightprobe::volume::RayCapture::irradiance_capture_world(), jacobi_svd_3x3(), kernel_volume_density_evaluate(), light_sample_terminate_probability(), line_aabb_clipping_dist(), workbench::volume::line_unit_box_intersect_dist(), path_state_continuation_probability(), workbench::dof::prepare(), eevee::surfel::SurfelRay::radiance_transfer(), eevee::shadow::usage::TagUsageTransparent::ray_aabb(), ray_aabb_intersect(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), reduce_max(), rgb_to_rgbe(), eevee::dof::setup::reduce::Resources::scatter_luminosity_rejection(), eevee::volume::scatter_main(), eevee::dof::setup::reduce::Resources::scatter_neighborhood_rejection(), eevee::subsurface::setup_main(), shadow_punctual_pixel_ratio(), blender::shadow_terminator_normal_offset_get(), eevee::shadow_texel_radius_at_position(), eevee::raytracing::denoise::spatial_main(), PointCloud::update_gsplat_radii(), eevee::hiz::update_main(), eevee::dof::scatter::vert_main(), voronoi_distance(), and voronoi_distance_bound().
Definition at line 17 of file gpu_shader_math_vector_reduce.bsl.hh.
References max, reduce_max(), float3::x, float3::y, and float3::z.
Definition at line 21 of file gpu_shader_math_vector_reduce.bsl.hh.
References max, reduce_max(), float4::w, float4::x, float4::y, and float4::z.
| int reduce_max | ( | int2 | a | ) |
Definition at line 25 of file gpu_shader_math_vector_reduce.bsl.hh.
References max, reduce_max(), int2::x, and int2::y.
| int reduce_max | ( | int3 | a | ) |
Definition at line 29 of file gpu_shader_math_vector_reduce.bsl.hh.
References max, reduce_max(), int3::x, int3::y, and int3::z.
| int reduce_max | ( | int4 | a | ) |
Definition at line 33 of file gpu_shader_math_vector_reduce.bsl.hh.
References max, reduce_max(), int4::w, int4::x, int4::y, and int4::z.
Definition at line 38 of file gpu_shader_math_vector_reduce.bsl.hh.
References min, reduce_min(), float2::x, and float2::y.
Referenced by area_light_rect_sample(), Object::compute_volume_step_size(), spherical_harmonics::dering(), eevee::dof::setup::stabilize::Resources::history_blend_factor(), eevee::film::Film::history_blend_factor(), line_unit_box_intersect_dist(), line_unit_square_intersect_dist(), eevee::shadow::usage::TagUsageTransparent::ray_aabb(), ray_aabb_intersect(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), reduce_min(), draw::resource_finalize_main(), and eevee::dof::setup::reduce::Resources::scatter_screen_border_rejection().
Definition at line 42 of file gpu_shader_math_vector_reduce.bsl.hh.
References min, reduce_min(), float3::x, float3::y, and float3::z.
Definition at line 46 of file gpu_shader_math_vector_reduce.bsl.hh.
References min, reduce_min(), float4::w, float4::x, float4::y, and float4::z.
| int reduce_min | ( | int2 | a | ) |
Definition at line 50 of file gpu_shader_math_vector_reduce.bsl.hh.
References min, reduce_min(), int2::x, and int2::y.
| int reduce_min | ( | int3 | a | ) |
Definition at line 54 of file gpu_shader_math_vector_reduce.bsl.hh.
References min, reduce_min(), int3::x, int3::y, and int3::z.
| int reduce_min | ( | int4 | a | ) |
Definition at line 58 of file gpu_shader_math_vector_reduce.bsl.hh.
References min, reduce_min(), int4::w, int4::x, int4::y, and int4::z.