21 return (
float)n * (1.0f / 4294967808.0f);
27 return (
float)n * (1.0f / (
float)0xFFFFFFFFu);
82#define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k))))
107#define final(a, b, c) \
131 a =
b = c = 0xdeadbeef + (1 << 2) + 13;
144 a =
b = c = 0xdeadbeef + (2 << 2) + 13;
158 a =
b = c = 0xdeadbeef + (3 << 2) + 13;
173 a =
b = c = 0xdeadbeef + (4 << 2) + 13;
245 return f * (1.0f / (
float)0x7FFFFFFFu);
252 return f * (1.0f / (
float)0x7FFFFFFFu);
259 return f * (1.0f / (
float)0x7FFFFFFFu);
343# define rot(x, k) (((x) << (k)) | (srl(x, 32 - (k))))
345# define mix(a, b, c) \
367# define final(a, b, c) \
390 a =
b = c =
make_int4(0xdeadbeef + (1 << 2) + 13);
403 a =
b = c =
make_int4(0xdeadbeef + (2 << 2) + 13);
417 a =
b = c =
make_int4(0xdeadbeef + (3 << 2) + 13);
432 a =
b = c =
make_int4(0xdeadbeef + (4 << 2) + 13);
445# if defined(__KERNEL_AVX2__)
449 a =
b = c =
make_vint8(0xdeadbeef + (1 << 2) + 13);
460 a =
b = c =
make_vint8(0xdeadbeef + (2 << 2) + 13);
472 a =
b = c =
make_vint8(0xdeadbeef + (3 << 2) + 13);
485 a =
b = c =
make_vint8(0xdeadbeef + (4 << 2) + 13);
522 return i ^ 0xe6fe3beb;
627 const uint qx = 1103515245U * ((
x >> 1U) ^ (
y));
628 const uint qy = 1103515245U * ((
y >> 1U) ^ (
x));
629 const uint n = 1103515245U * ((qx) ^ (qy >> 3U));
636#ifndef __KERNEL_GPU__
642 while ((c = *
str++)) {
ATTR_WARN_UNUSED_RESULT const BMVert * v
static unsigned long seed
#define ccl_ignore_integer_overflow
#define ccl_device_forceinline
#define ccl_device_inline
#define CCL_NAMESPACE_END
float length(VecOp< float, D >) RET
ccl_device_inline uint hash_wang_seeded_uint(uint i, const uint seed)
static uint hash_string(const char *str)
ccl_device_inline float2 hash_float3_to_float2(const float3 k)
ccl_ignore_integer_overflow ccl_device_inline int3 hash_pcg3d_i(int3 v)
ccl_device_inline float3 hash_float_to_float3(const float k)
ccl_device_inline float3 hash_int3_to_float3(const int3 k)
ccl_device_inline uint hash_uint4(const uint kx, const uint ky, const uint kz, const uint kw)
ccl_device_inline float hash_float_to_float(const float k)
ccl_device_inline float hash_float3_to_float(const float3 k)
ccl_device_inline float hash_uint_to_float(const uint kx)
ccl_device_inline float2 hash_float_to_float2(const float k)
ccl_device_inline float2 hash_float2_to_float2(const float2 k)
ccl_device_inline float hash_hp_seeded_float(const uint i, const uint seed)
ccl_device_inline uint hash_shuffle_uint(uint i, const uint length, const uint seed)
ccl_device_inline float3 hash_float2_to_float3(const float2 k)
ccl_device_inline float3 hash_int4_to_float3(const int4 k)
ccl_device_inline float hash_wang_seeded_float(const uint i, const uint seed)
ccl_device_inline float2 hash_int2_to_float2(const int2 k)
ccl_device_inline float hash_float2_to_float(const float2 k)
ccl_device_inline float3 hash_int2_to_float3(const int2 k)
ccl_device_inline uint hash_uint2(const uint kx, const uint ky)
ccl_device_inline uint hash_uint(const uint kx)
ccl_device_inline float4 hash_float4_to_float4(const float4 k)
ccl_device_inline uint hash_iqnt2d(const uint x, const uint y)
ccl_device_inline float4 hash_int4_to_float4(const int4 k)
ccl_device_forceinline float uint_to_float_incl(const uint n)
ccl_device_inline float hash_float4_to_float(const float4 k)
ccl_device_inline float hash_hp_float(const uint i)
ccl_device_inline float2 hash_float4_to_float2(const float4 k)
ccl_device_inline float3 hash_float4_to_float3(const float4 k)
ccl_device_inline uint hash_hp_uint(uint i)
ccl_device_inline uint hash_uint3(const uint kx, const uint ky, const uint kz)
ccl_device_inline float hash_uint4_to_float(const uint kx, const uint ky, const uint kz, const uint kw)
ccl_ignore_integer_overflow ccl_device_inline int4 hash_pcg4d_i(int4 v)
ccl_device_inline float hash_uint2_to_float(const uint kx, const uint ky)
ccl_ignore_integer_overflow ccl_device_inline int2 hash_pcg2d_i(int2 v)
ccl_device_inline uint hash_hp_seeded_uint(const uint i, uint seed)
ccl_device_inline float3 hash_float3_to_float3(const float3 k)
ccl_device_inline float hash_uint3_to_float(const uint kx, const uint ky, const uint kz)
CCL_NAMESPACE_BEGIN ccl_device_forceinline float uint_to_float_excl(const uint n)
ccl_device_inline uint count_leading_zeros(const uint x)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
ccl_device_inline vint8 make_vint8(const vfloat8 f)