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
path: root/intern
diff options
context:
space:
mode:
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/util/util_system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_system.cpp b/intern/cycles/util/util_system.cpp
index c4898626481..9a7f1427cbe 100644
--- a/intern/cycles/util/util_system.cpp
+++ b/intern/cycles/util/util_system.cpp
@@ -163,7 +163,7 @@ static CPUCapabilities& system_cpu_capabilities()
caps.fma3 = (result[2] & ((int)1 << 12)) != 0;
caps.avx = false;
- bool os_uses_xsave_xrestore = result[2] & ((int)1 << 27) != 0;
+ bool os_uses_xsave_xrestore = (result[2] & ((int)1 << 27)) != 0;
bool cpu_avx_support = (result[2] & ((int)1 << 28)) != 0;
if( os_uses_xsave_xrestore && cpu_avx_support) {