Blender V4.3
math_int8.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline vint8 operator+ (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator+= (vint8 &a, const vint8 b)
 
ccl_device_inline vint8 operator- (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator-= (vint8 &a, const vint8 b)
 
ccl_device_inline vint8 operator>> (const vint8 a, int i)
 
ccl_device_inline vint8 operator<< (const vint8 a, int i)
 
ccl_device_inline vint8 operator< (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator< (const vint8 a, const int b)
 
ccl_device_inline vint8 operator== (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator== (const vint8 a, const int b)
 
ccl_device_inline vint8 operator>= (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator>= (const vint8 a, const int b)
 
ccl_device_inline vint8 operator& (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator| (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator^ (const vint8 a, const vint8 b)
 
ccl_device_inline vint8 operator& (const int32_t a, const vint8 b)
 
ccl_device_inline vint8 operator& (const vint8 a, const int32_t b)
 
ccl_device_inline vint8 operator| (const int32_t a, const vint8 b)
 
ccl_device_inline vint8 operator| (const vint8 a, const int32_t b)
 
ccl_device_inline vint8 operator^ (const int32_t a, const vint8 b)
 
ccl_device_inline vint8 operator^ (const vint8 a, const int32_t b)
 
ccl_device_inline vint8 & operator&= (vint8 &a, const vint8 b)
 
ccl_device_inline vint8 & operator&= (vint8 &a, const int32_t b)
 
ccl_device_inline vint8 & operator|= (vint8 &a, const vint8 b)
 
ccl_device_inline vint8 & operator|= (vint8 &a, const int32_t b)
 
ccl_device_inline vint8 & operator^= (vint8 &a, const vint8 b)
 
ccl_device_inline vint8 & operator^= (vint8 &a, const int32_t b)
 
ccl_device_inline vint8 & operator<<= (vint8 &a, const int32_t b)
 
ccl_device_inline vint8 & operator>>= (vint8 &a, const int32_t b)
 
ccl_device_inline vint8 min (vint8 a, vint8 b)
 
ccl_device_inline vint8 max (vint8 a, vint8 b)
 
ccl_device_inline vint8 clamp (const vint8 a, const vint8 mn, const vint8 mx)
 
ccl_device_inline vint8 select (const vint8 mask, const vint8 a, const vint8 b)
 
ccl_device_inline vint8 load_vint8 (const int *v)
 
ccl_device_inline vfloat8 cast (const vint8 a)
 

Function Documentation

◆ cast()

ccl_device_inline vfloat8 cast ( const vint8 a)

Definition at line 291 of file math_int8.h.

References __int_as_float, and make_vfloat8().

◆ clamp()

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

Definition at line 259 of file math_int8.h.

References max, and min.

◆ load_vint8()

ccl_device_inline vint8 load_vint8 ( const int * v)

Definition at line 281 of file math_int8.h.

References make_vint8(), and v.

◆ max()

ccl_device_inline vint8 max ( vint8 a,
vint8 b )

Definition at line 243 of file math_int8.h.

References b, make_vint8(), and max.

◆ min()

ccl_device_inline vint8 min ( vint8 a,
vint8 b )

Definition at line 227 of file math_int8.h.

References b, make_vint8(), and min.

◆ operator&() [1/3]

ccl_device_inline vint8 operator& ( const int32_t a,
const vint8 b )

Definition at line 154 of file math_int8.h.

References b, and make_vint8().

◆ operator&() [2/3]

ccl_device_inline vint8 operator& ( const vint8 a,
const int32_t b )

Definition at line 159 of file math_int8.h.

References b, and make_vint8().

◆ operator&() [3/3]

ccl_device_inline vint8 operator& ( const vint8 a,
const vint8 b )

Definition at line 124 of file math_int8.h.

References b, and make_vint8().

◆ operator&=() [1/2]

ccl_device_inline vint8 & operator&= ( vint8 & a,
const int32_t b )

Definition at line 188 of file math_int8.h.

References b.

◆ operator&=() [2/2]

ccl_device_inline vint8 & operator&= ( vint8 & a,
const vint8 b )

Definition at line 184 of file math_int8.h.

References b.

◆ operator+()

CCL_NAMESPACE_BEGIN ccl_device_inline vint8 operator+ ( const vint8 a,
const vint8 b )

Definition at line 16 of file math_int8.h.

References b, and make_vint8().

◆ operator+=()

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

Definition at line 26 of file math_int8.h.

References b.

◆ operator-()

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

Definition at line 31 of file math_int8.h.

References b, and make_vint8().

◆ operator-=()

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

Definition at line 41 of file math_int8.h.

References b.

◆ operator<() [1/2]

ccl_device_inline vint8 operator< ( const vint8 a,
const int b )

Definition at line 76 of file math_int8.h.

References b, and make_vint8().

◆ operator<() [2/2]

ccl_device_inline vint8 operator< ( const vint8 a,
const vint8 b )

Definition at line 66 of file math_int8.h.

References b, and make_vint8().

◆ operator<<()

ccl_device_inline vint8 operator<< ( const vint8 a,
int i )

Definition at line 56 of file math_int8.h.

References make_vint8().

◆ operator<<=()

ccl_device_inline vint8 & operator<<= ( vint8 & a,
const int32_t b )

Definition at line 211 of file math_int8.h.

References b.

◆ operator==() [1/2]

ccl_device_inline vint8 operator== ( const vint8 a,
const int b )

Definition at line 97 of file math_int8.h.

References b, and make_vint8().

◆ operator==() [2/2]

ccl_device_inline vint8 operator== ( const vint8 a,
const vint8 b )

Definition at line 81 of file math_int8.h.

References b, and make_vint8().

◆ operator>=() [1/2]

ccl_device_inline vint8 operator>= ( const vint8 a,
const int b )

Definition at line 119 of file math_int8.h.

References b, and make_vint8().

◆ operator>=() [2/2]

ccl_device_inline vint8 operator>= ( const vint8 a,
const vint8 b )

Definition at line 102 of file math_int8.h.

References b, and make_vint8().

◆ operator>>()

ccl_device_inline vint8 operator>> ( const vint8 a,
int i )

Definition at line 46 of file math_int8.h.

References make_vint8().

◆ operator>>=()

ccl_device_inline vint8 & operator>>= ( vint8 & a,
const int32_t b )

Definition at line 215 of file math_int8.h.

References b.

◆ operator^() [1/3]

ccl_device_inline vint8 operator^ ( const int32_t a,
const vint8 b )

Definition at line 174 of file math_int8.h.

References b, and make_vint8().

◆ operator^() [2/3]

ccl_device_inline vint8 operator^ ( const vint8 a,
const int32_t b )

Definition at line 179 of file math_int8.h.

References b, and make_vint8().

◆ operator^() [3/3]

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

Definition at line 144 of file math_int8.h.

References b, and make_vint8().

◆ operator^=() [1/2]

ccl_device_inline vint8 & operator^= ( vint8 & a,
const int32_t b )

Definition at line 206 of file math_int8.h.

References b.

◆ operator^=() [2/2]

ccl_device_inline vint8 & operator^= ( vint8 & a,
const vint8 b )

Definition at line 202 of file math_int8.h.

References b.

◆ operator|() [1/3]

ccl_device_inline vint8 operator| ( const int32_t a,
const vint8 b )

Definition at line 164 of file math_int8.h.

References b, and make_vint8().

◆ operator|() [2/3]

ccl_device_inline vint8 operator| ( const vint8 a,
const int32_t b )

Definition at line 169 of file math_int8.h.

References b, and make_vint8().

◆ operator|() [3/3]

ccl_device_inline vint8 operator| ( const vint8 a,
const vint8 b )

Definition at line 134 of file math_int8.h.

References b, and make_vint8().

◆ operator|=() [1/2]

ccl_device_inline vint8 & operator|= ( vint8 & a,
const int32_t b )

Definition at line 197 of file math_int8.h.

References b.

◆ operator|=() [2/2]

ccl_device_inline vint8 & operator|= ( vint8 & a,
const vint8 b )

Definition at line 193 of file math_int8.h.

References b.

◆ select()

ccl_device_inline vint8 select ( const vint8 mask,
const vint8 a,
const vint8 b )

Definition at line 264 of file math_int8.h.

References b, and make_vint8().