diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-01 14:51:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-01 15:22:42 +0300 |
commit | dc9e0b819b814bbbbb38d4238c2fec21d9092437 (patch) | |
tree | 46b6150b93e17b4e40628643eb7babc09b2971e4 /intern/cycles/kernel/split/kernel_direct_lighting.h | |
parent | 84e8b05e97522b9c12bd389c931601814307e5ff (diff) |
Cycles: Remove unused argument from the split kernel functions
Should be no functional changes, just simplifies operation with kernels.
Diffstat (limited to 'intern/cycles/kernel/split/kernel_direct_lighting.h')
-rw-r--r-- | intern/cycles/kernel/split/kernel_direct_lighting.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/split/kernel_direct_lighting.h b/intern/cycles/kernel/split/kernel_direct_lighting.h index f76e0cfaad4..34000517006 100644 --- a/intern/cycles/kernel/split/kernel_direct_lighting.h +++ b/intern/cycles/kernel/split/kernel_direct_lighting.h @@ -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 */ |