0579eaae1f
The idea is to make include statements more explicit and obvious where the file is coming from, additionally reducing chance of wrong header being picked up. For example, it was not obvious whether bvh.h was refferring to builder or traversal, whenter node.h is a generic graph node or a shader node and cases like that. Surely this might look obvious for the active developers, but after some time of not touching the code it becomes less obvious where file is coming from. This was briefly mentioned in T50824 and seems @brecht is fine with such explicitness, but need to agree with all active developers before committing this. Please note that this patch is lacking changes related on GPU/OpenCL support. This will be solved if/when we all agree this is a good idea to move forward. Reviewers: brecht, lukasstockner97, maiself, nirved, dingto, juicyfruit, swerner Reviewed By: lukasstockner97, maiself, nirved, dingto Subscribers: brecht Differential Revision: https://developer.blender.org/D2586 |
||
---|---|---|
.. | ||
kernel_buffer_update.h | ||
kernel_data_init.h | ||
kernel_direct_lighting.h | ||
kernel_do_volume.h | ||
kernel_holdout_emission_blurring_pathtermination_ao.h | ||
kernel_indirect_background.h | ||
kernel_indirect_subsurface.h | ||
kernel_lamp_emission.h | ||
kernel_next_iteration_setup.h | ||
kernel_path_init.h | ||
kernel_queue_enqueue.h | ||
kernel_scene_intersect.h | ||
kernel_shader_eval.h | ||
kernel_shadow_blocked_ao.h | ||
kernel_shadow_blocked_dl.h | ||
kernel_split_common.h | ||
kernel_split_data_types.h | ||
kernel_split_data.h | ||
kernel_subsurface_scatter.h |