Cycles: change __device and similar qualifiers to ccl_device in kernel code.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 15 Nov 2013 23:17:10 +0000 (00:17 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 18 Nov 2013 07:48:15 +0000 (08:48 +0100)
commitc18712e86814d176433cea781fe1e68715c23bd4
treea9aa7a0b34940dceb00f290c720f4a2733819f44
parent6f67f7c18cf2c6224f3e3d796bf0d83d2f098b2e
Cycles: change __device and similar qualifiers to ccl_device in kernel code.

This to avoids build conflicts with libc++ on FreeBSD, these __ prefixed values
are reserved for compilers. I apologize to anyone who has patches or branches
and has to go through the pain of merging this change, it may be easiest to do
these same replacements in your code and then apply/merge the patch.

Ref T37477.
87 files changed:
intern/cycles/kernel/closure/bsdf.h
intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h
intern/cycles/kernel/closure/bsdf_diffuse.h
intern/cycles/kernel/closure/bsdf_diffuse_ramp.h
intern/cycles/kernel/closure/bsdf_hair.h
intern/cycles/kernel/closure/bsdf_microfacet.h
intern/cycles/kernel/closure/bsdf_oren_nayar.h
intern/cycles/kernel/closure/bsdf_phong_ramp.h
intern/cycles/kernel/closure/bsdf_reflection.h
intern/cycles/kernel/closure/bsdf_refraction.h
intern/cycles/kernel/closure/bsdf_toon.h
intern/cycles/kernel/closure/bsdf_transparent.h
intern/cycles/kernel/closure/bsdf_util.h
intern/cycles/kernel/closure/bsdf_ward.h
intern/cycles/kernel/closure/bsdf_westin.h
intern/cycles/kernel/closure/bssrdf.h
intern/cycles/kernel/closure/emissive.h
intern/cycles/kernel/closure/volume.h
intern/cycles/kernel/kernel.cl
intern/cycles/kernel/kernel_accumulate.h
intern/cycles/kernel/kernel_bvh.h
intern/cycles/kernel/kernel_bvh_subsurface.h
intern/cycles/kernel/kernel_bvh_traversal.h
intern/cycles/kernel/kernel_camera.h
intern/cycles/kernel/kernel_compat_cuda.h
intern/cycles/kernel/kernel_compat_opencl.h
intern/cycles/kernel/kernel_curve.h
intern/cycles/kernel/kernel_differential.h
intern/cycles/kernel/kernel_displace.h
intern/cycles/kernel/kernel_emission.h
intern/cycles/kernel/kernel_film.h
intern/cycles/kernel/kernel_globals.h
intern/cycles/kernel/kernel_jitter.h
intern/cycles/kernel/kernel_light.h
intern/cycles/kernel/kernel_montecarlo.h
intern/cycles/kernel/kernel_object.h
intern/cycles/kernel/kernel_passes.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_path_state.h
intern/cycles/kernel/kernel_primitive.h
intern/cycles/kernel/kernel_projection.h
intern/cycles/kernel/kernel_random.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/kernel_subsurface.h
intern/cycles/kernel/kernel_triangle.h
intern/cycles/kernel/svm/svm.h
intern/cycles/kernel/svm/svm_attribute.h
intern/cycles/kernel/svm/svm_blackbody.h
intern/cycles/kernel/svm/svm_brick.h
intern/cycles/kernel/svm/svm_brightness.h
intern/cycles/kernel/svm/svm_camera.h
intern/cycles/kernel/svm/svm_checker.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/kernel/svm/svm_convert.h
intern/cycles/kernel/svm/svm_displace.h
intern/cycles/kernel/svm/svm_fresnel.h
intern/cycles/kernel/svm/svm_gamma.h
intern/cycles/kernel/svm/svm_geometry.h
intern/cycles/kernel/svm/svm_gradient.h
intern/cycles/kernel/svm/svm_hsv.h
intern/cycles/kernel/svm/svm_image.h
intern/cycles/kernel/svm/svm_invert.h
intern/cycles/kernel/svm/svm_light_path.h
intern/cycles/kernel/svm/svm_magic.h
intern/cycles/kernel/svm/svm_mapping.h
intern/cycles/kernel/svm/svm_math.h
intern/cycles/kernel/svm/svm_mix.h
intern/cycles/kernel/svm/svm_musgrave.h
intern/cycles/kernel/svm/svm_noise.h
intern/cycles/kernel/svm/svm_noisetex.h
intern/cycles/kernel/svm/svm_normal.h
intern/cycles/kernel/svm/svm_ramp.h
intern/cycles/kernel/svm/svm_sepcomb_hsv.h
intern/cycles/kernel/svm/svm_sepcomb_rgb.h
intern/cycles/kernel/svm/svm_sky.h
intern/cycles/kernel/svm/svm_tex_coord.h
intern/cycles/kernel/svm/svm_texture.h
intern/cycles/kernel/svm/svm_value.h
intern/cycles/kernel/svm/svm_vector_transform.h
intern/cycles/kernel/svm/svm_voronoi.h
intern/cycles/kernel/svm/svm_wave.h
intern/cycles/kernel/svm/svm_wavelength.h
intern/cycles/kernel/svm/svm_wireframe.h
intern/cycles/util/util_color.h
intern/cycles/util/util_math.h
intern/cycles/util/util_transform.h
intern/cycles/util/util_types.h