Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-11-01 14:51:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-11-01 15:22:42 +0300
commitdc9e0b819b814bbbbb38d4238c2fec21d9092437 (patch)
tree46b6150b93e17b4e40628643eb7babc09b2971e4 /intern/cycles/kernel/split/kernel_lamp_emission.h
parent84e8b05e97522b9c12bd389c931601814307e5ff (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_lamp_emission.h')
-rw-r--r--intern/cycles/kernel/split/kernel_lamp_emission.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/split/kernel_lamp_emission.h b/intern/cycles/kernel/split/kernel_lamp_emission.h
index f5143f595a7..53dd6621127 100644
--- a/intern/cycles/kernel/split/kernel_lamp_emission.h
+++ b/intern/cycles/kernel/split/kernel_lamp_emission.h
@@ -26,7 +26,7 @@
* Throughput_coop ------------------------------------|--- kernel_lamp_emission --|--- PathRadiance_coop
* Ray_coop -------------------------------------------| |--- Queue_data(QUEUE_ACTIVE_AND_REGENERATED_RAYS)
* PathState_coop -------------------------------------| |--- Queue_index(QUEUE_ACTIVE_AND_REGENERATED_RAYS)
- * kg (globals + data) --------------------------------| |
+ * kg (globals) ---------------------------------------| |
* Intersection_coop ----------------------------------| |
* ray_state ------------------------------------------| |
* Queue_data (QUEUE_ACTIVE_AND_REGENERATED_RAYS) -----| |
@@ -41,7 +41,6 @@
*/
ccl_device void kernel_lamp_emission(
KernelGlobals *kg,
- ccl_constant KernelData *data,
ShaderData *sd, /* Required for lamp emission */
ccl_global float3 *throughput_coop, /* Required for lamp emission */
PathRadiance *PathRadiance_coop, /* Required for lamp emission */