2011-05-20 12:26:01 +00:00
|
|
|
|
|
|
|
#ifndef KERNEL_TEX
|
|
|
|
#define KERNEL_TEX(type, ttype, name)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KERNEL_IMAGE_TEX
|
|
|
|
#define KERNEL_IMAGE_TEX(type, ttype, name)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* bvh */
|
|
|
|
KERNEL_TEX(float4, texture_float4, __bvh_nodes)
|
|
|
|
KERNEL_TEX(float4, texture_float4, __tri_woop)
|
2011-09-01 15:53:36 +00:00
|
|
|
KERNEL_TEX(uint, texture_uint, __prim_visibility)
|
2011-05-20 12:26:01 +00:00
|
|
|
KERNEL_TEX(uint, texture_uint, __prim_index)
|
|
|
|
KERNEL_TEX(uint, texture_uint, __prim_object)
|
|
|
|
KERNEL_TEX(uint, texture_uint, __object_node)
|
|
|
|
|
|
|
|
/* objects */
|
|
|
|
KERNEL_TEX(float4, texture_float4, __objects)
|
|
|
|
|
|
|
|
/* triangles */
|
|
|
|
KERNEL_TEX(float4, texture_float4, __tri_normal)
|
|
|
|
KERNEL_TEX(float4, texture_float4, __tri_vnormal)
|
|
|
|
KERNEL_TEX(float4, texture_float4, __tri_vindex)
|
|
|
|
KERNEL_TEX(float4, texture_float4, __tri_verts)
|
|
|
|
|
|
|
|
/* attributes */
|
|
|
|
KERNEL_TEX(uint4, texture_uint4, __attributes_map)
|
|
|
|
KERNEL_TEX(float, texture_float, __attributes_float)
|
|
|
|
KERNEL_TEX(float4, texture_float4, __attributes_float3)
|
|
|
|
|
|
|
|
/* lights */
|
|
|
|
KERNEL_TEX(float4, texture_float4, __light_distribution)
|
2011-09-27 20:37:24 +00:00
|
|
|
KERNEL_TEX(float4, texture_float4, __light_data)
|
2012-01-20 17:49:17 +00:00
|
|
|
KERNEL_TEX(float2, texture_float2, __light_background_marginal_cdf)
|
|
|
|
KERNEL_TEX(float2, texture_float2, __light_background_conditional_cdf)
|
2011-05-20 12:26:01 +00:00
|
|
|
|
|
|
|
/* shaders */
|
|
|
|
KERNEL_TEX(uint4, texture_uint4, __svm_nodes)
|
2011-09-27 20:37:24 +00:00
|
|
|
KERNEL_TEX(uint, texture_uint, __shader_flag)
|
2012-05-02 09:33:45 +00:00
|
|
|
KERNEL_TEX(uint, texture_uint, __object_flag)
|
2011-05-20 12:26:01 +00:00
|
|
|
|
|
|
|
/* camera/film */
|
|
|
|
KERNEL_TEX(float, texture_float, __filter_table)
|
|
|
|
|
|
|
|
/* sobol */
|
|
|
|
KERNEL_TEX(uint, texture_uint, __sobol_directions)
|
|
|
|
|
|
|
|
/* image */
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_000)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_001)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_002)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_003)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_004)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_005)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_006)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_007)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_008)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_009)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_010)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_011)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_012)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_013)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_014)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_015)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_016)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_017)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_018)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_019)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_020)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_021)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_022)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_023)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_024)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_025)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_026)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_027)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_028)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_029)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_030)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_031)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_032)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_033)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_034)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_035)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_036)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_037)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_038)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_039)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_040)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_041)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_042)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_043)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_044)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_045)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_046)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_047)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_048)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_049)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_050)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_051)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_052)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_053)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_054)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_055)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_056)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_057)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_058)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_059)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_060)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_061)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_062)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_063)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_064)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_065)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_066)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_067)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_068)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_069)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_070)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_071)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_072)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_073)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_074)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_075)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_076)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_077)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_078)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_079)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_080)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_081)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_082)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_083)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_084)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_085)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_086)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_087)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_088)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_089)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_090)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_091)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_092)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_093)
|
|
|
|
KERNEL_IMAGE_TEX(uchar4, texture_image_uchar4, __tex_image_094)
|
2012-03-07 12:27:18 +00:00
|
|
|
|
|
|
|
/* full-float image */
|
|
|
|
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_095)
|
|
|
|
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_096)
|
|
|
|
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_097)
|
|
|
|
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_098)
|
|
|
|
KERNEL_IMAGE_TEX(float4, texture_image_float4, __tex_image_float_099)
|
2011-05-20 12:26:01 +00:00
|
|
|
|
|
|
|
#undef KERNEL_TEX
|
|
|
|
#undef KERNEL_IMAGE_TEX
|
|
|
|
|
|
|
|
|