diff options
author | Thomas Dinges <blender@dingto.org> | 2014-01-06 06:22:14 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-01-06 06:22:14 +0400 |
commit | ce6dce3b1335c71a3a818ddd649db6fa8300877b (patch) | |
tree | 4b34140353f075b23b0341328cb8ff0b6d3b06d2 /intern/cycles/device/device_cpu.cpp | |
parent | 56081d596ebfefe4302931d047b02a5ba05429ae (diff) |
Code cleanup / Cycles: else/if for SSE41 kernel functions.
Diffstat (limited to 'intern/cycles/device/device_cpu.cpp')
-rw-r--r-- | intern/cycles/device/device_cpu.cpp | 2 |
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++) { |