~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to intern/cycles/kernel/kernel_textures.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2011, Blender Foundation.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU General Public License
 
6
 * as published by the Free Software Foundation; either version 2
 
7
 * of the License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17
 */
1
18
 
2
19
#ifndef KERNEL_TEX
3
20
#define KERNEL_TEX(type, ttype, name)
7
24
#define KERNEL_IMAGE_TEX(type, ttype, name)
8
25
#endif
9
26
 
10
 
 
11
27
/* bvh */
12
28
KERNEL_TEX(float4, texture_float4, __bvh_nodes)
13
29
KERNEL_TEX(float4, texture_float4, __tri_woop)
 
30
KERNEL_TEX(uint, texture_uint, __prim_segment)
14
31
KERNEL_TEX(uint, texture_uint, __prim_visibility)
15
32
KERNEL_TEX(uint, texture_uint, __prim_index)
16
33
KERNEL_TEX(uint, texture_uint, __prim_object)
18
35
 
19
36
/* objects */
20
37
KERNEL_TEX(float4, texture_float4, __objects)
 
38
KERNEL_TEX(float4, texture_float4, __objects_vector)
21
39
 
22
40
/* triangles */
23
41
KERNEL_TEX(float4, texture_float4, __tri_normal)
25
43
KERNEL_TEX(float4, texture_float4, __tri_vindex)
26
44
KERNEL_TEX(float4, texture_float4, __tri_verts)
27
45
 
 
46
/* curves */
 
47
KERNEL_TEX(float4, texture_float4, __curves)
 
48
KERNEL_TEX(float4, texture_float4, __curve_keys)
 
49
 
28
50
/* attributes */
29
51
KERNEL_TEX(uint4, texture_uint4, __attributes_map)
30
52
KERNEL_TEX(float, texture_float, __attributes_float)
36
58
KERNEL_TEX(float2, texture_float2, __light_background_marginal_cdf)
37
59
KERNEL_TEX(float2, texture_float2, __light_background_conditional_cdf)
38
60
 
 
61
/* particles */
 
62
KERNEL_TEX(float4, texture_float4, __particles)
 
63
 
39
64
/* shaders */
40
65
KERNEL_TEX(uint4, texture_uint4, __svm_nodes)
41
66
KERNEL_TEX(uint, texture_uint, __shader_flag)
 
67
KERNEL_TEX(uint, texture_uint, __object_flag)
42
68
 
43
69
/* camera/film */
44
70
KERNEL_TEX(float, texture_float, __filter_table)
46
72
/* sobol */
47
73
KERNEL_TEX(uint, texture_uint, __sobol_directions)
48
74
 
 
75
/* full-float image */
 
76
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_000)
 
77
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_001)
 
78
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_002)
 
79
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_003)
 
80
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_004)
 
81
 
49
82
/* image */
50
 
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_000)
51
 
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_001)
52
 
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_002)
53
 
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_003)
54
 
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_004)
55
83
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_005)
56
84
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_006)
57
85
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_007)
142
170
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_092)
143
171
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_093)
144
172
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_094)
 
173
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_095)
 
174
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_096)
 
175
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_097)
 
176
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_098)
 
177
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_099)
145
178
 
146
 
/* full-float image */
147
 
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_095)
148
 
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_096)
149
 
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_097)
150
 
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_098)
151
 
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_099)
 
179
/* packed image (opencl) */
 
180
KERNEL_TEX(uchar4, texture_uchar4, __tex_image_packed)
 
181
KERNEL_TEX(uint4, texture_uint4, __tex_image_packed_info)
152
182
 
153
183
#undef KERNEL_TEX
154
184
#undef KERNEL_IMAGE_TEX