|
Blender V5.3
|
#include "bvh/binning.h"#include <cstdlib>#include "util/algorithm.h"#include "util/boundbox.h"#include "util/types.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN __forceinline void | prefetch_L1 (const void *) |
| __forceinline void | prefetch_L2 (const void *) |
| __forceinline void | prefetch_L3 (const void *) |
| __forceinline void | prefetch_NTA (const void *) |
| template<size_t src> | |
| __forceinline float | extract (const int4 &b) |
| template<size_t dst> | |
| __forceinline const float4 | insert (const float4 &a, const float b) |
| __forceinline int | get_best_dimension (const float4 &bestSAH) |
| __forceinline float extract | ( | const int4 & | b | ) |
Definition at line 27 of file binning.cpp.
References __forceinline, b, and extract().
Referenced by BVHObjectBinning::BVHObjectBinning(), blender::nodes::node_geo_index_switch_cc::LazyFunctionForIndexSwitchNode::execute_field(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionForMenuSwitchNode::execute_field(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForEvaluateClosureNode::execute_impl(), blender::nodes::execute_multi_function_on_value_variant__field(), extract(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::LazyFunctionForForeachGeometryElementZone::initialize_execution_graph(), and blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| __forceinline int get_best_dimension | ( | const float4 & | bestSAH | ) |
Definition at line 38 of file binning.cpp.
References __forceinline, get_best_dimension(), min, float4::x, float4::y, and float4::z.
Referenced by BVHObjectBinning::BVHObjectBinning(), and get_best_dimension().
| __forceinline const float4 insert | ( | const float4 & | a, |
| const float | b ) |
Definition at line 31 of file binning.cpp.
References __forceinline, b, and insert().
Referenced by blender::gpu::GPUSource::add_function(), BVHObjectBinning::BVHObjectBinning(), blender::hull_angle_insert_ordered(), insert(), blender::MOD_solidify_nonmanifold_modifyMesh(), blender::ed::space_node::node_link_insert_offset_ntree(), and blender::geometry::subdivide_bezier_segment().
| CCL_NAMESPACE_BEGIN __forceinline void prefetch_L1 | ( | const void * | ) |
Definition at line 22 of file binning.cpp.
References __forceinline, and prefetch_L1().
Referenced by prefetch_L1().
| __forceinline void prefetch_L2 | ( | const void * | ) |
Definition at line 23 of file binning.cpp.
References __forceinline, and prefetch_L2().
Referenced by BVHObjectBinning::BVHObjectBinning(), prefetch_L2(), and BVHObjectBinning::split().
| __forceinline void prefetch_L3 | ( | const void * | ) |
Definition at line 24 of file binning.cpp.
References __forceinline, and prefetch_L3().
Referenced by prefetch_L3().
| __forceinline void prefetch_NTA | ( | const void * | ) |
Definition at line 25 of file binning.cpp.
References __forceinline, and prefetch_NTA().
Referenced by prefetch_NTA().