diff options
author | Thomas Dinges <blender@dingto.org> | 2014-08-22 22:09:40 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-08-22 22:10:01 +0400 |
commit | a0600debda8cd9ec93cd8e10f5d7ecd5be9a1a9a (patch) | |
tree | ccdde71e9314db26e6cda061a6dfba0893bfca19 /intern/cycles | |
parent | 4ff4bfcb9c672ecacd8e5f39df6404a2880ba056 (diff) |
Fix T41541: Cuda renders objects in black with MIS enabled in world setting
Issue introduced in 8d3cc431d7fdcc9f3243cc24dfdcb94124be0993, parameter mismatch.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/kernel.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel.cu b/intern/cycles/kernel/kernel.cu index 23f56ee3c86..d5b5293664c 100644 --- a/intern/cycles/kernel/kernel.cu +++ b/intern/cycles/kernel/kernel.cu @@ -146,7 +146,7 @@ kernel_cuda_convert_to_half_float(uchar4 *rgba, float *buffer, float sample_scal extern "C" __global__ void CUDA_LAUNCH_BOUNDS(CUDA_THREADS_BLOCK_WIDTH, CUDA_KERNEL_MAX_REGISTERS) -kernel_cuda_shader(uint4 *input, float4 *output, int type, int sx, int sw, int sample) +kernel_cuda_shader(uint4 *input, float4 *output, int type, int sx, int sw, int offset, int sample) { int x = sx + blockDim.x*blockIdx.x + threadIdx.x; |