[Bf-blender-cvs] [ba9453f] master: Cycles: Disable QBVH on 32bit systems all together

Sergey Sharybin noreply at git.blender.org
Mon Dec 29 09:26:34 CET 2014


Commit: ba9453f46fa992562b455ceefcbb1a228a706830
Author: Sergey Sharybin
Date:   Mon Dec 29 13:23:44 2014 +0500
Branches: master
https://developer.blender.org/rBba9453f46fa992562b455ceefcbb1a228a706830

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

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

M	intern/cycles/blender/blender_sync.cpp

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

diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp
index d0d0c0b..97ceae7 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;
 	}




More information about the Bf-blender-cvs mailing list