Cycles: remove SIMD BVH optimizations, to be replaced by Embree

Ref T73778

Depends on D8011

Maniphest Tasks: T73778

Differential Revision: https://developer.blender.org/D8012
This commit is contained in:
Brecht Van Lommel
2020-06-10 18:55:33 +02:00
parent 1de0e13af6
commit d1ef5146d7
39 changed files with 71 additions and 7913 deletions

View File

@@ -31,7 +31,7 @@ DebugFlags::CPU::CPU()
sse41(true),
sse3(true),
sse2(true),
bvh_layout(BVH_LAYOUT_DEFAULT),
bvh_layout(BVH_LAYOUT_AUTO),
split_kernel(false)
{
reset();
@@ -57,18 +57,7 @@ void DebugFlags::CPU::reset()
#undef STRINGIFY
#undef CHECK_CPU_FLAGS
if (getenv("CYCLES_BVH2") != NULL) {
bvh_layout = BVH_LAYOUT_BVH2;
}
else if (getenv("CYCLES_BVH4") != NULL) {
bvh_layout = BVH_LAYOUT_BVH4;
}
else if (getenv("CYCLES_BVH8") != NULL) {
bvh_layout = BVH_LAYOUT_BVH8;
}
else {
bvh_layout = BVH_LAYOUT_DEFAULT;
}
bvh_layout = BVH_LAYOUT_AUTO;
split_kernel = false;
}