Blender Git Commit Log
Git Commits -> Revision 6bd97c3
Revision 6bd97c3 by Brecht Van Lommel (cycles-x) February 18, 2021, 15:54 (GMT) |
Cleanup: use pragma once for all kernel headers Previously some were using #ifdef and some not, now make it all consistent so we can more easily include headers without worrying about duplication, especially while we reorganize the kernel code. |
Commit Details:
Full Hash: 6bd97c3bf0eebe6db1451f477d0560a5c5017cf7
Parent Commit: 5533e34
Lines Changed: +182, -163
102 Modified Paths:
/intern/cycles/kernel/bvh/bvh.h (+2, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_embree.h (+2, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_types.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/alloc.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h (+11, -14) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse_ramp.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_hair.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_hair_principled.h (+6, -9) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_oren_nayar.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_phong_ramp.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_principled_diffuse.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_principled_sheen.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_reflection.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_toon.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_transparent.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_util.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bssrdf.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/emissive.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/volume.h (+1, -4) (Diff)
/intern/cycles/kernel/filter/filter.h (+1, -4) (Diff)
/intern/cycles/kernel/filter/filter_defines.h (+1, -4) (Diff)
/intern/cycles/kernel/filter/filter_features.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_features_sse.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_nlm_cpu.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_nlm_gpu.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_prefilter.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_reconstruction.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_transform.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_transform_gpu.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_transform_sse.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_attribute.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_curve.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_intersect.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_shader.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_patch.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_background.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_generate_camera_rays.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_intersect_closest.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_intersect_shadow.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_shadow.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_subsurface.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_surface.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel.h (+1, -4) (Diff)
/intern/cycles/kernel/kernels/cpu/filter_cpu_impl.h (+2, -0) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_image.h (+1, -4) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_accumulate.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_bake.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_camera.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_color.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_optix.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_differential.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_emission.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_film.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_id_passes.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_jitter.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_light_background.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_light_common.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_math.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_passes.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_common.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_subsurface.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_profiling.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_projection.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_queues.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_random.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_shader.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_work_stealing.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_write_passes.h (+2, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_embree.h (+2, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_types.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/alloc.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h (+11, -14) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_diffuse_ramp.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_hair.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_hair_principled.h (+6, -9) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_oren_nayar.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_phong_ramp.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_principled_diffuse.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_principled_sheen.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_reflection.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_toon.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_transparent.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bsdf_util.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/bssrdf.h (+1, -4) (Diff)
/intern/cycles/kernel/closure/emissive.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/volume.h (+1, -4) (Diff)
/intern/cycles/kernel/filter/filter.h (+1, -4) (Diff)
/intern/cycles/kernel/filter/filter_defines.h (+1, -4) (Diff)
/intern/cycles/kernel/filter/filter_features.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_features_sse.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_nlm_cpu.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_nlm_gpu.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_prefilter.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_reconstruction.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_transform.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_transform_gpu.h (+2, -0) (Diff)
/intern/cycles/kernel/filter/filter_transform_sse.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_attribute.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_curve.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_intersect.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_shader.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_patch.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_background.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_generate_camera_rays.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_intersect_closest.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_intersect_shadow.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_shadow.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_subsurface.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_surface.h (+2, -0) (Diff)
/intern/cycles/kernel/integrator/kernel_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel.h (+1, -4) (Diff)
/intern/cycles/kernel/kernels/cpu/filter_cpu_impl.h (+2, -0) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_image.h (+1, -4) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_accumulate.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_bake.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_camera.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_color.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_compat_optix.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_differential.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_emission.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_film.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_globals.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_id_passes.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_jitter.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_light_background.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_light_common.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_math.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_passes.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_common.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_subsurface.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_profiling.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_projection.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_queues.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_random.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_shader.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_work_stealing.h (+1, -4) (Diff)
/intern/cycles/kernel/kernel_write_passes.h (+2, -0) (Diff)