Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / intern / cycles / kernel / kernel_textures.h
1
2 #ifndef KERNEL_TEX
3 #define KERNEL_TEX(type, ttype, name)
4 #endif
5
6 #ifndef KERNEL_IMAGE_TEX
7 #define KERNEL_IMAGE_TEX(type, ttype, name)
8 #endif
9
10
11 /* bvh */
12 KERNEL_TEX(float4, texture_float4, __bvh_nodes)
13 KERNEL_TEX(float4, texture_float4, __tri_woop)
14 KERNEL_TEX(uint, texture_uint, __prim_visibility)
15 KERNEL_TEX(uint, texture_uint, __prim_index)
16 KERNEL_TEX(uint, texture_uint, __prim_object)
17 KERNEL_TEX(uint, texture_uint, __object_node)
18
19 /* objects */
20 KERNEL_TEX(float4, texture_float4, __objects)
21
22 /* triangles */
23 KERNEL_TEX(float4, texture_float4, __tri_normal)
24 KERNEL_TEX(float4, texture_float4, __tri_vnormal)
25 KERNEL_TEX(float4, texture_float4, __tri_vindex)
26 KERNEL_TEX(float4, texture_float4, __tri_verts)
27
28 /* attributes */
29 KERNEL_TEX(uint4, texture_uint4, __attributes_map)
30 KERNEL_TEX(float, texture_float, __attributes_float)
31 KERNEL_TEX(float4, texture_float4, __attributes_float3)
32
33 /* lights */
34 KERNEL_TEX(float4, texture_float4, __light_distribution)
35 KERNEL_TEX(float4, texture_float4, __light_data)
36
37 /* shaders */
38 KERNEL_TEX(uint4, texture_uint4, __svm_nodes)
39 KERNEL_TEX(uint, texture_uint, __shader_flag)
40
41 /* camera/film */
42 KERNEL_TEX(float, texture_float, __filter_table)
43
44 /* sobol */
45 KERNEL_TEX(uint, texture_uint, __sobol_directions)
46
47 /* image */
48 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_000)
49 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_001)
50 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_002)
51 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_003)
52 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_004)
53 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_005)
54 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_006)
55 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_007)
56 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_008)
57 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_009)
58 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_010)
59 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_011)
60 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_012)
61 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_013)
62 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_014)
63 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_015)
64 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_016)
65 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_017)
66 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_018)
67 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_019)
68 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_020)
69 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_021)
70 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_022)
71 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_023)
72 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_024)
73 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_025)
74 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_026)
75 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_027)
76 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_028)
77 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_029)
78 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_030)
79 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_031)
80 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_032)
81 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_033)
82 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_034)
83 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_035)
84 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_036)
85 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_037)
86 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_038)
87 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_039)
88 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_040)
89 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_041)
90 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_042)
91 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_043)
92 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_044)
93 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_045)
94 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_046)
95 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_047)
96 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_048)
97 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_049)
98 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_050)
99 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_051)
100 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_052)
101 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_053)
102 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_054)
103 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_055)
104 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_056)
105 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_057)
106 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_058)
107 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_059)
108 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_060)
109 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_061)
110 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_062)
111 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_063)
112 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_064)
113 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_065)
114 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_066)
115 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_067)
116 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_068)
117 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_069)
118 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_070)
119 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_071)
120 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_072)
121 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_073)
122 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_074)
123 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_075)
124 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_076)
125 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_077)
126 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_078)
127 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_079)
128 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_080)
129 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_081)
130 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_082)
131 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_083)
132 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_084)
133 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_085)
134 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_086)
135 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_087)
136 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_088)
137 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_089)
138 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_090)
139 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_091)
140 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_092)
141 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_093)
142 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_094)
143 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_095)
144 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_096)
145 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_097)
146 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_098)
147 KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_099)
148
149 #undef KERNEL_TEX
150 #undef KERNEL_IMAGE_TEX
151
152