diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-05 23:56:34 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-05 23:56:34 +0400 |
commit | e9d03296c7cbff8e20a61359d858642126621669 (patch) | |
tree | 4a16060cd97ceaca22d5b7f5a63d517703a52793 /intern/cycles/util/util_system.cpp | |
parent | c7882ec3bb4d6895414ed7a0623074c16201284e (diff) |
Better fix for #36935 and 36316:
* 32 bit GCC builds now have the SSE BVH optimizations turned off, but still
compile with SSE flags for better performance.
* White color when rendering on Windows seems to have been unrelated to SSE,
rather it was a graphics driver not supporting half float textures, added a
check for that now.
Diffstat (limited to 'intern/cycles/util/util_system.cpp')
-rw-r--r-- | intern/cycles/util/util_system.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/util/util_system.cpp b/intern/cycles/util/util_system.cpp index 2bb15b9074a..345c76bdfab 100644 --- a/intern/cycles/util/util_system.cpp +++ b/intern/cycles/util/util_system.cpp @@ -116,8 +116,7 @@ int system_cpu_bits() return (sizeof(void*)*8); } -/* SSE optimization disabled for now on 32 bit, see bug #36316 and #36935 */ -#if defined(__x86_64__) || defined(_M_X64) // ((defined(i386) || defined(_M_IX86)) +#if defined(__x86_64__) || defined(_M_X64) || defined(i386) || defined(_M_IX86) struct CPUCapabilities { bool x64; |