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
This commit is contained in:
Sergey Sharybin 2014-12-29 13:23:44 +05:00
parent c79c48cc93
commit ba9453f46f
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}