From ba9453f46fa992562b455ceefcbb1a228a706830 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 29 Dec 2014 13:23:44 +0500 Subject: [PATCH] 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 --- intern/cycles/blender/blender_sync.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }