Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-01-06 06:22:14 +0400
committerThomas Dinges <blender@dingto.org>2014-01-06 06:22:14 +0400
commitce6dce3b1335c71a3a818ddd649db6fa8300877b (patch)
tree4b34140353f075b23b0341328cb8ff0b6d3b06d2
parent56081d596ebfefe4302931d047b02a5ba05429ae (diff)
Code cleanup / Cycles: else/if for SSE41 kernel functions.
-rw-r--r--intern/cycles/device/device_cpu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index e084116c72d..ea632b744dc 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++) {