Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/device/device_cpu.cpp')
-rw-r--r--intern/cycles/device/device_cpu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 6be60f8bbb6..cc37ba33252 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -1050,6 +1050,9 @@ void device_cpu_info(vector<DeviceInfo>& devices)
if (system_cpu_support_sse2()) {
info.bvh_layout_mask |= BVH_LAYOUT_BVH4;
}
+ if (system_cpu_support_avx2()) {
+ info.bvh_layout_mask |= BVH_LAYOUT_BVH8;
+ }
info.has_volume_decoupled = true;
info.has_osl = true;
info.has_half_images = true;