[Bf-blender-cvs] [45c6755] cycles_kernel_split: Cycles kernel split : Undef KENREL_APPEND_ARG macro

varunsundar08 noreply at git.blender.org
Wed May 6 13:07:18 CEST 2015


Commit: 45c6755a1bc3fceb2fbf0ced5bf360d7ea09045c
Author: varunsundar08
Date:   Wed May 6 15:21:32 2015 +0530
Branches: cycles_kernel_split
https://developer.blender.org/rB45c6755a1bc3fceb2fbf0ced5bf360d7ea09045c

Cycles kernel split : Undef KENREL_APPEND_ARG macro

===================================================================

M	intern/cycles/device/device_opencl.cpp

===================================================================

diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index a07e773..7a9a5f3 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -2833,6 +2833,7 @@ public:
 		KERNEL_APPEND_ARG(ckPathTraceKernel_SumAllRadiance_SPLIT_KERNEL, rtile.buffer_rng_state_stride);
 		KERNEL_APPEND_ARG(ckPathTraceKernel_SumAllRadiance_SPLIT_KERNEL, start_sample);
 
+#undef KERNEL_APPEND_ARG
 
 		/* Macro for Enqueuing split kernels */
 #define ENQUEUE_SPLIT_KERNEL(kernelName, globalSize, localSize) \




More information about the Bf-blender-cvs mailing list