diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-29 11:23:44 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-29 11:23:44 +0300 |
commit | ba9453f46fa992562b455ceefcbb1a228a706830 (patch) | |
tree | 826f984f86ae28da0ea4aac23469384dc424c379 | |
parent | c79c48cc93b53f7fff35822b125915220ca78806 (diff) |
Cycles: Disable QBVH on 32bit systems all together
The reason for this is that we don't sue SSE optimization for 32bit platforms
because of T36316.
Things to look into:
- Nail the root of the issue of that report
- Implement non-SSE traversal code for QBVH
-rw-r--r-- | intern/cycles/blender/blender_sync.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp index d0d0c0beb64..97ceae7237b 100644 --- a/intern/cycles/blender/blender_sync.cpp +++ b/intern/cycles/blender/blender_sync.cpp @@ -378,10 +378,13 @@ SceneParams BlenderSync::get_scene_params(BL::Scene b_scene, bool background, bo else params.persistent_data = false; +#if !(defined(__GNUC__) && (defined(i386) || defined(_M_IX86))) if(is_cpu) { params.use_qbvh = system_cpu_support_sse2(); } - else { + else +#endif + { params.use_qbvh = false; } |