diff options
Diffstat (limited to 'intern/cycles/kernel/kernel.cu')
-rw-r--r-- | intern/cycles/kernel/kernel.cu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel.cu b/intern/cycles/kernel/kernel.cu index e3fe23d3a37..df865aa1b7e 100644 --- a/intern/cycles/kernel/kernel.cu +++ b/intern/cycles/kernel/kernel.cu @@ -35,6 +35,7 @@ extern "C" __global__ void kernel_cuda_path_trace_progressive(float *buffer, uin kernel_path_trace_progressive(NULL, buffer, rng_state, sample, x, y, offset, stride); } +#ifdef __NON_PROGRESSIVE__ extern "C" __global__ void kernel_cuda_path_trace_non_progressive(float *buffer, uint *rng_state, int sample, int sx, int sy, int sw, int sh, int offset, int stride) { int x = sx + blockDim.x*blockIdx.x + threadIdx.x; @@ -43,6 +44,7 @@ extern "C" __global__ void kernel_cuda_path_trace_non_progressive(float *buffer, if(x < sx + sw && y < sy + sh) kernel_path_trace_non_progressive(NULL, buffer, rng_state, sample, x, y, offset, stride); } +#endif extern "C" __global__ void kernel_cuda_tonemap(uchar4 *rgba, float *buffer, int sample, int sx, int sy, int sw, int sh, int offset, int stride) { |