Commit: ce6dce3b1335c71a3a818ddd649db6fa8300877b
Author: Thomas Dinges
Date:   Mon Jan 6 03:22:14 2014 +0100
https://developer.blender.org/rBce6dce3b1335c71a3a818ddd649db6fa8300877b

Code cleanup / Cycles: else/if for SSE41 kernel functions.

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

M       intern/cycles/device/device_cpu.cpp

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

diff --git a/intern/cycles/device/device_cpu.cpp 
b/intern/cycles/device/device_cpu.cpp
index e084116..ea632b7 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -307,6 +307,7 @@ public:
                                                
kernel_cpu_sse41_convert_to_byte(&kernel_globals, (uchar4*)task.rgba_byte, 
(float*)task.buffer,
                                                        sample_scale, x, y, 
task.offset, task.stride);
                        }
+                       else
 #endif                 
                        if(system_cpu_support_sse3()) {
                                for(int y = task.y; y < task.y + task.h; y++)
@@ -349,6 +350,7 @@ public:
                                        break;
                        }
                }
+               else
 #endif
                if(system_cpu_support_sse3()) {
                        for(int x = task.shader_x; x < task.shader_x + 
task.shader_w; x++) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to