[Bf-blender-cvs] [e2846c9] master: Cycles: Fix stupid mistake which was assining kernel function in a loop

Sergey Sharybin noreply at git.blender.org
Wed Jan 6 16:05:54 CET 2016


Commit: e2846c999a43566a9068716abb1a2a732281e204
Author: Sergey Sharybin
Date:   Wed Jan 6 20:04:25 2016 +0500
Branches: master
https://developer.blender.org/rBe2846c999a43566a9068716abb1a2a732281e204

Cycles: Fix stupid mistake which was assining kernel function in a loop

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

M	intern/cycles/device/device_cpu.cpp

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

diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 832f4d1..1b07ab6 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -273,7 +273,6 @@ public:
 #endif
 #ifdef WITH_CYCLES_OPTIMIZED_KERNEL_AVX
 			if(system_cpu_support_avx())
-				for(int y = task.y; y < task.y + task.h; y++)
 				convert_to_half_float_kernel = kernel_cpu_avx_convert_to_half_float;
 			else
 #endif




More information about the Bf-blender-cvs mailing list