Blender V2.61 - r43446
Classes | Defines | Typedefs

kernel_compat_cpu.h File Reference

#include "util_debug.h"
#include "util_math.h"
#include "util_types.h"

Go to the source code of this file.

Classes

struct  texture< T >
struct  texture_image< T >

Defines

#define __KERNEL_CPU__
#define kernel_assert(cond)   assert(cond)
#define kernel_tex_fetch(tex, index)   (kg->tex.fetch(index))
#define kernel_tex_fetch_m128(tex, index)   (kg->tex.fetch_m128(index))
#define kernel_tex_fetch_m128i(tex, index)   (kg->tex.fetch_m128i(index))
#define kernel_tex_interp(tex, t, size)   (kg->tex.interp(t, size))
#define kernel_tex_image_interp(tex, x, y)   (kg->tex.interp(x, y))
#define kernel_data   (kg->__data)

Typedefs

typedef texture< float4texture_float4
typedef texture< float > texture_float
typedef texture< uinttexture_uint
typedef texture< int > texture_int
typedef texture< uint4texture_uint4
typedef texture_image< float4texture_image_float4
typedef texture_image< uchar4texture_image_uchar4

Define Documentation

#define __KERNEL_CPU__

Definition at line 22 of file kernel_compat_cpu.h.

#define kernel_assert (   cond)    assert(cond)
#define kernel_data   (kg->__data)
#define kernel_tex_fetch (   tex,
  index 
)    (kg->tex.fetch(index))
#define kernel_tex_fetch_m128 (   tex,
  index 
)    (kg->tex.fetch_m128(index))

Definition at line 154 of file kernel_compat_cpu.h.

Referenced by mbvh_node_intersect().

#define kernel_tex_fetch_m128i (   tex,
  index 
)    (kg->tex.fetch_m128i(index))

Definition at line 155 of file kernel_compat_cpu.h.

#define kernel_tex_image_interp (   tex,
  x,
 
)    (kg->tex.interp(x, y))

Definition at line 157 of file kernel_compat_cpu.h.

Referenced by svm_image_texture().

#define kernel_tex_interp (   tex,
  t,
  size 
)    (kg->tex.interp(t, size))

Definition at line 156 of file kernel_compat_cpu.h.

Referenced by camera_sample().


Typedef Documentation

typedef texture<float> texture_float

Definition at line 144 of file kernel_compat_cpu.h.

Definition at line 143 of file kernel_compat_cpu.h.

Definition at line 148 of file kernel_compat_cpu.h.

Definition at line 149 of file kernel_compat_cpu.h.

typedef texture<int> texture_int

Definition at line 146 of file kernel_compat_cpu.h.

Definition at line 145 of file kernel_compat_cpu.h.

Definition at line 147 of file kernel_compat_cpu.h.