Blender V2.61 - r43446
|
#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< float4 > | texture_float4 |
typedef texture< float > | texture_float |
typedef texture< uint > | texture_uint |
typedef texture< int > | texture_int |
typedef texture< uint4 > | texture_uint4 |
typedef texture_image< float4 > | texture_image_float4 |
typedef texture_image< uchar4 > | texture_image_uchar4 |
#define __KERNEL_CPU__ |
Definition at line 22 of file kernel_compat_cpu.h.
#define kernel_assert | ( | cond | ) | assert(cond) |
Definition at line 33 of file kernel_compat_cpu.h.
Referenced by texture< T >::fetch(), texture< T >::interp(), light_distribution_sample(), path_state_next(), scene_intersect(), stack_load_float(), stack_load_float3(), stack_store_float(), stack_store_float3(), and svm_image_texture().
#define kernel_data (kg->__data) |
Definition at line 159 of file kernel_compat_cpu.h.
Referenced by camera_sample(), camera_sample_aperture(), camera_sample_orthographic(), camera_sample_perspective(), film_map(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_matrix(), kernel_path_integrate(), light_distribution_sample(), path_rng_init(), path_state_next(), path_state_ray_visibility(), path_state_terminate_probability(), regular_light_pdf(), scene_intersect(), shader_setup_from_background(), shadow_blocked(), sky_radiance(), svm_background_offset(), svm_node_attr_init(), svm_node_camera(), svm_node_closure_bsdf(), svm_node_tex_coord(), svm_node_tex_coord_bump_dx(), svm_node_tex_coord_bump_dy(), and triangle_light_pdf().
#define kernel_tex_fetch | ( | tex, | |
index | |||
) | (kg->tex.fetch(index)) |
Definition at line 153 of file kernel_compat_cpu.h.
Referenced by bvh_node_intersect(), bvh_triangle_intersect(), bvh_triangle_refine(), light_distribution_sample(), light_sample(), mbvh_triangle_intersect(), object_fetch_transform(), object_surface_area(), qbvh_node_intersect(), qbvh_triangle_intersect(), read_node(), read_node_float(), regular_light_sample(), scene_intersect(), shader_setup_from_background(), shader_setup_from_ray(), shader_setup_from_sample(), svm_node_attr_init(), triangle_attribute_float(), triangle_attribute_float3(), triangle_dPdudv(), triangle_normal_MT(), triangle_point_MT(), and triangle_smooth_normal().
#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, | |||
y | |||
) | (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 texture<float> texture_float |
Definition at line 144 of file kernel_compat_cpu.h.
typedef texture<float4> texture_float4 |
Definition at line 143 of file kernel_compat_cpu.h.
typedef texture_image<float4> texture_image_float4 |
Definition at line 148 of file kernel_compat_cpu.h.
typedef texture_image<uchar4> texture_image_uchar4 |
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.
typedef texture<uint> texture_uint |
Definition at line 145 of file kernel_compat_cpu.h.
typedef texture<uint4> texture_uint4 |
Definition at line 147 of file kernel_compat_cpu.h.