Blender V5.0
types_int4.h File Reference
#include "util/types_base.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN struct ccl_try_align (16) int4
ccl_device_inline int4 make_int4 (const int x, const int y, int z, const int w)
ccl_device_inline int4 make_int4 (const int i)
ccl_device_inline int4 zero_int4 ()
ccl_device_inline void print_int4 (const ccl_private char *label, const int4 a)

Function Documentation

◆ ccl_try_align()

CCL_NAMESPACE_BEGIN struct ccl_try_align ( 16 )

Definition at line 9 of file types_int4.h.

References __forceinline, ccl_try_align, i, operator=(), operator[](), util_assert, w(), x, y, and z().

◆ make_int4() [1/2]

ccl_device_inline int4 make_int4 ( const int i)

Definition at line 70 of file types_int4.h.

References ccl_device_inline, i, and make_int4().

◆ make_int4() [2/2]

ccl_device_inline int4 make_int4 ( const int x,
const int y,
int z,
const int w )

Definition at line 60 of file types_int4.h.

References ccl_device_inline, w(), x, y, and z().

Referenced by make_int4(), and zero_int4().

◆ print_int4()

ccl_device_inline void print_int4 ( const ccl_private char * label,
const int4 a )

Definition at line 84 of file types_int4.h.

References ccl_device_inline, ccl_private, printf, int4::w, int4::x, int4::y, and int4::z.

◆ zero_int4()

ccl_device_inline int4 zero_int4 ( )

Definition at line 79 of file types_int4.h.

References ccl_device_inline, and make_int4().

Referenced by BVH2::pack_leaf(), voronoi_f1(), voronoi_f2(), and voronoi_n_sphere_radius().