Blender  V2.93
Functions
bvh_binning.cpp File Reference
#include "bvh/bvh_binning.h"
#include <stdlib.h>
#include "util/util_algorithm.h"
#include "util/util_boundbox.h"
#include "util/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)
 

Function Documentation

◆ extract()

template<size_t src>
__forceinline float extract ( const int4 b)

◆ get_best_dimension()

__forceinline int get_best_dimension ( const float4 &  bestSAH)

Definition at line 56 of file bvh_binning.cpp.

References min.

Referenced by BVHObjectBinning::BVHObjectBinning().

◆ insert()

template<size_t dst>
__forceinline const float4 insert ( const float4 &  a,
const float  b 
)

Definition at line 49 of file bvh_binning.cpp.

References Freestyle::a, and r.

◆ prefetch_L1()

CCL_NAMESPACE_BEGIN __forceinline void prefetch_L1 ( const void *  )

Definition at line 32 of file bvh_binning.cpp.

◆ prefetch_L2()

__forceinline void prefetch_L2 ( const void *  )

Definition at line 35 of file bvh_binning.cpp.

Referenced by BVHObjectBinning::BVHObjectBinning(), and BVHObjectBinning::split().

◆ prefetch_L3()

__forceinline void prefetch_L3 ( const void *  )

Definition at line 38 of file bvh_binning.cpp.

◆ prefetch_NTA()

__forceinline void prefetch_NTA ( const void *  )

Definition at line 41 of file bvh_binning.cpp.