Cycles: Remove unused argument from the split kernel functions

Should be no functional changes, just simplifies operation with kernels.
This commit is contained in:
Sergey Sharybin
2015-11-01 16:51:32 +05:00
parent 84e8b05e97
commit dc9e0b819b
19 changed files with 16 additions and 48 deletions

View File

@@ -33,7 +33,7 @@
* sd -----------------------------------------------| |--- LightRay_coop
* ray_state ----------------------------------------| |--- ray_state
* Queue_data (QUEUE_ACTIVE_AND_REGENERATED_RAYS) ---| |
* kg (globals + data) ------------------------------| |
* kg (globals) -------------------------------------| |
* queuesize ----------------------------------------| |
*
* note on sd_DL : sd_DL is neither input nor output to this kernel; sd_DL is filled and consumed in this kernel itself.
@@ -50,7 +50,6 @@
*/
ccl_device char kernel_direct_lighting(
KernelGlobals *kg,
ccl_constant KernelData *data,
ShaderData *sd, /* Required for direct lighting */
ShaderData *sd_DL, /* Required for direct lighting */
ccl_global uint *rng_coop, /* Required for direct lighting */