Cycles: Clean up extra minus in previous commit
authorLukas Stockner <lukas.stockner@freenet.de>
Mon, 8 Oct 2018 20:22:05 +0000 (22:22 +0200)
committerLukas Stockner <lukas.stockner@freenet.de>
Mon, 8 Oct 2018 20:22:05 +0000 (22:22 +0200)
Forgot to add that change, sorry for the noise.

intern/cycles/device/opencl/opencl_base.cpp

index 75418dad1ccc9eb0c11d88a382e9f4e81babebb7..ffd3b7d762521f1c002f2bd55b1ad1124619af0d 100644 (file)
@@ -867,7 +867,7 @@ bool OpenCLDeviceBase::denoising_reconstruct(device_ptr color_ptr,
 
        int r = task->radius;
        int pass_stride = task->buffer.pass_stride;
-       int num_shifts = (2*r-+1)*(2*r+1);
+       int num_shifts = (2*r+1)*(2*r+1);
 
        device_sub_ptr difference(task->buffer.temporary_mem, 0, pass_stride*num_shifts);
        device_sub_ptr blurDifference(task->buffer.temporary_mem, pass_stride*num_shifts, pass_stride*num_shifts);