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

This commit is contained in:
Sergey Sharybin 2016-01-06 20:04:25 +05:00
parent 60c0c47dba
commit e2846c999a

@ -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