Blender V2.61 - r43446
Defines | Functions

util_hash.h File Reference

Go to the source code of this file.

Defines

#define rot(x, k)   (((x)<<(k)) | ((x)>>(32-(k))))

Functions

static CCL_NAMESPACE_BEGIN
unsigned int 
hash_int_2d (unsigned int kx, unsigned int ky)
static unsigned int hash_int (unsigned int k)

Define Documentation

#define rot (   x,
 
)    (((x)<<(k)) | ((x)>>(32-(k))))

Function Documentation

static unsigned int hash_int ( unsigned int  k) [inline, static]

Definition at line 47 of file util_hash.h.

References hash_int_2d().

Referenced by Integrator::device_update().

static CCL_NAMESPACE_BEGIN unsigned int hash_int_2d ( unsigned int  kx,
unsigned int  ky 
) [inline, static]

Definition at line 24 of file util_hash.h.

References rot.

Referenced by hash_int(), and RenderBuffers::reset().